View previous topic :: View next topic
|
Author |
Message |
rupesh gullu
New User
Joined: 12 Dec 2008 Posts: 96 Location: Gurgaon
|
|
|
|
Hi,
I am getting file status 39 due to file attribute mismatch. I have mentioned LRECL as 133 in JCL and RECFM as FBA. In My program report layout mentioned is 132 bytes. I am creating report with different headers in it and has layout for each header line. Can you please help me in this regard.
regards,
rupesh gupta |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Doesn't your program have to place the carriage control byte in the file, so should be defined as 133, or have you tried to define the file as FBA 132 in the JCL. |
|
Back to top |
|
|
rupesh gullu
New User
Joined: 12 Dec 2008 Posts: 96 Location: Gurgaon
|
|
|
|
Expat,
I need to place carriage control byte in file but don't we give 132 bytes in program and 133 in JCL when RECFM is FBA.
regards,
rupesh gupta |
|
Back to top |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
You need to define the cc-byte into the record as well, so it totals 133. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
but don't we give 132 bytes in program and 133 in JCL when RECFM is FBA. |
Not in normal shops -- but it will depend upon your site-specific settng for the ADV compiler option; contact your site support group or run a COBOL compile to find out for sure whether ADV is set. |
|
Back to top |
|
|
|