I am trying to create a line sequential file with record length 150 bytes (fixed format). The requirement is that the last 50 bytes of the record should be blanks. Finally, when I am opening the file the actual record length is 100 bytes. That means that the last 50 bytes are truncated. solve this problem?

Showing Answers 1 - 1 of 1 Answers

badri

  • Sep 24th, 2006
 

In record layout mention last fifty char filler with spaces.

For example

01 SAMPLE-Rec

      05 SAMPLE-1 pic x(100)

      05 Filler Pic x(50) value Spaces.

Let me know in case of any queries.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions