View previous topic :: View next topic |
Author |
Message |
lav79 Beginner
Joined: 09 Jun 2003 Posts: 1 Topics: 1
|
Posted: Tue Feb 24, 2004 5:09 am Post subject: Logical Record Length |
|
|
I would like to know the significance behind calling the parameter record length in DCB as logical record length instead of just record length. |
|
Back to top |
|
 |
vini Intermediate
Joined: 12 Jan 2004 Posts: 240 Topics: 48 Location: Maryland
|
Posted: Tue Feb 24, 2004 2:42 pm Post subject: |
|
|
My best guess is ... it implies .. if that File is being used in a Program ...it would have a length defined there .. call that the Logical length .. and that should match the one specified in the JCL LRECL.
Last edited by vini on Wed Feb 25, 2004 11:03 am; edited 1 time in total |
|
Back to top |
|
 |
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Tue Feb 24, 2004 10:52 pm Post subject: |
|
|
Hi Lav,
My guess is that most files carry data in "physical" blocks. Their length is defined using the BLKSIZE param. These physical blocks can also be sub-divided
"logically" into smaller segments whose length can be defined using the LRECL param.
Just a guess, but it makes sense.
Regards, Jack. |
|
Back to top |
|
 |
mfjin Beginner
Joined: 26 Apr 2003 Posts: 94 Topics: 17
|
Posted: Wed Feb 25, 2004 7:20 am Post subject: |
|
|
lav79, was this question asked in an interview? |
|
Back to top |
|
 |
Maton_Man Beginner

Joined: 30 Jan 2004 Posts: 123 Topics: 0
|
Posted: Wed Feb 25, 2004 10:04 pm Post subject: |
|
|
LRECL = logical
BLKSIZE = physical
Btw, LRECL can exceed blocksize for VBS files eg. some SMF records. _________________ My opinions are exactly that. |
|
Back to top |
|
 |
|
|