MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Logical Record Length

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
lav79
Beginner


Joined: 09 Jun 2003
Posts: 1
Topics: 1

PostPosted: Tue Feb 24, 2004 5:09 am    Post subject: Logical Record Length Reply with quote

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
View user's profile Send private message
vini
Intermediate


Joined: 12 Jan 2004
Posts: 240
Topics: 48
Location: Maryland

PostPosted: Tue Feb 24, 2004 2:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Tue Feb 24, 2004 10:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Wed Feb 25, 2004 7:20 am    Post subject: Reply with quote

lav79, was this question asked in an interview?
Back to top
View user's profile Send private message
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Wed Feb 25, 2004 10:04 pm    Post subject: Reply with quote

LRECL = logical
BLKSIZE = physical

Btw, LRECL can exceed blocksize for VBS files eg. some SMF records.
_________________
My opinions are exactly that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group