View previous topic :: View next topic
|
Author |
Message |
ranjitbhingare
New User
Joined: 30 Nov 2005 Posts: 94 Location: PUNE
|
|
|
|
I have a input file with length having 10k approx record and copy book having very long record lenght approx 1 lac. Actually occur is applied in copy book and based on that lenght of record is calculated.
Now how will I access Input file with that copy book, while describing FD if I m writing copy book name it gives error that lenght of copybook is greater than maximum length. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Appendix B. Compiler limits wrote: |
RECORD CONTAINS integer 1,048,575 (5)
(5) Compiler limit shown, but QSAM limits it to 32,767 bytes. |
|
|
Back to top |
|
|
ranjitbhingare
New User
Joined: 30 Nov 2005 Posts: 94 Location: PUNE
|
|
|
|
Hi,
Thanks for you quotes.
Issue is resolved.
Even though the copybook mentioned was provided as file layout, the actual file layout was different. It contained multiple records for a subscriber and the whole data needed to be processed in this format.
Thus used logic to read all records related to a subscriber and formated the input in given format by using driver program to read the file and combine related records in the given format and then used the formatted input for processing.
Regards,
Ranjit |
|
Back to top |
|
|
|