View previous topic :: View next topic
|
Author |
Message |
jsuresh_kumar
New User
Joined: 24 Dec 2003 Posts: 2
|
|
|
|
Hi All,
In JCL, For fixed length records LRECL is set equal to record length.
For Variable lenght records LRECL is set equal to size of the largest record length plus 4 bytes.
Example: If the Largest record length is 150. LRECL value is 154.
Could you please clarify me, why the extra 4 bytes added?
Thanks
Suresh. |
|
Back to top |
|
|
sandip_datta
Active User
Joined: 02 Dec 2003 Posts: 150 Location: Tokyo, Japan
|
|
|
|
Hello Jsuresh,
This 4 byte space is allocated for Record Descriptor Word (RDW). This contain actual length of the record.
Regards,
Sandip. |
|
Back to top |
|
|
jsuresh_kumar
New User
Joined: 24 Dec 2003 Posts: 2
|
|
|
|
Thank you sandip... |
|
Back to top |
|
|
sandip_datta
Active User
Joined: 02 Dec 2003 Posts: 150 Location: Tokyo, Japan
|
|
|
|
Actually RDW consists of 2 fields each having 2 bytes. The first field contains actual length including RDW in binary. The next field is reserved for future uses. Presently the second field contains zeroes.
Regards,
Sandip. |
|
Back to top |
|
|
|