> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Amlan Prasad
> Sent: Thursday, October 04, 2007 2:00 PM
> To: [email protected]
> Subject: Automatic LRECL in JCL
> 
> 
> Hi,
> 
> Is it possible in the JCL to avoid coding LRECL for datasets 
> which created 
> new. If it can be automatically understood based on the COBOL program 
> creating then any change to the code will not require JCL changes. 
> 
> We have frequent file length changes and often some JCL 
> changes are missed 
> and ABEND is faced. I am aware it is not mandatory to code 
> for SORT. It will 
> pick the LRECL for SORTOUT based on SORTIN.
> 
> Thanks,
> Amlan
> 

You only need to specify the LRECL= in JCL if the program does not
specify it. COBOL always generates the LRECL for you. I think that all
high level languages do the same. So, you do not need to specify the
LRECL= in the JCL for datasets created with a COBOL program.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to