Page 1 of 1

Maximum record length in COBOL?

Posted: Tue Jan 06, 2015 3:16 pm
by Ankita Mehta
Hi,

For a requirement I'd need to the data in a single spanned record and forthat matter I'm thinking about the lrecl considerations. According to COBOL/VSE Language Reference, RECORD CONTAINS clause can be defined upto 1,048,575 bytes, but SAM limits it to 32,767. So what is the maximum possible record length in COBOL?


Thanks,

Re: Maximum record length in COBOL?

Posted: Tue Jan 06, 2015 9:49 pm
by Robert Sample
COBOL allows you to define a record with more than a million bytes. However, the operating system limits you to 32767. This is explained in Appendix B Compiler Limits of the COBOL Language Reference manual. So you can define in COBOL records that cannot be processed on the mainframe.

Re: Maximum record length in COBOL?

Posted: Mon Mar 02, 2015 2:08 pm
by jjourneyy22
Thank you for Runescape Gold your sharing! It's useful for me!I found this information for Fifa Ultimate Team Coins a long time but it's doesn't work! I'm happy I can find this sharing of you !you are nice guys !