Amlan Prasad wrote:
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 can use an SMS dataclass routine to assign a dataclas to a new
allocation. Your SMS routines would have to be written to assign the
correct dataclass to the correct allocation however. Also remember that
if the DD statement has any DCB information it will override the
dataclass specifications.
--
Mark Jacobs
Time Customer Service
Tampa, FL
------
Will you marry me? Do you have any money? Answer the second question first.
Groucho Marx
----------------------------------------------------------------------
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