
Custom Search
Haven't tried this myself so not sure if it will work!
FILE SECTION.
FD REPORT-FILE
RECORD IS VARYING IN SIZE FROM 1 TO 10000
DEPENDING ON REPORT-SIZE.
01 REPORT-RECORD PIC X(10000).
WORKING-STORAGE SECTION.
77 REPORT-SIZE PIC 9(4) COMP-5.
After reading the record you could examine the contents of the field in working storage called REPORT-SIZE and it will hopefully contain the record length!
Click the +1 button below to share it with your friends and colleagues
Who's onlineThere are currently 1 user and 32 guests online.
Online users
|