View previous topic :: View next topic |
Author |
Message |
gd Beginner

Joined: 05 Apr 2006 Posts: 5 Topics: 2
|
Posted: Sun Feb 18, 2007 11:39 pm Post subject: What is the maximum record length in COBOL? |
|
|
Hi,
I have a requirement to write the data in a single spanned record. For that I need to define the file with maximum record length.
Compiler limits in "COBOL/VSE Language Reference" says that in RECORD CONTAINS clause you can define upto 1,048,575 bytes, but SAM limits it to 32,767.
What is the maximum possible record length in COBOL?
Is there any way or special parameter in COBOL to achieve the above said maximum record length?
Thanks,
Ganesh |
|
Back to top |
|
 |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Sun Feb 18, 2007 11:48 pm Post subject: |
|
|
COBOL supports QSAM spanned records up to 32,760 bytes long. _________________ Regards,
Programmer |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
gd Beginner

Joined: 05 Apr 2006 Posts: 5 Topics: 2
|
Posted: Tue Feb 20, 2007 1:21 am Post subject: |
|
|
Thanks Programmer1 and Kolusu for the help. |
|
Back to top |
|
 |
|
|