kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Apr 02, 2015 10:21 am Post subject: Re: expanded listing for nested procedures? |
|
|
ironponygrl wrote: | I have to standardize some 700+ jobs and procedures for my application. I need to get a before and after listing of the completely expanded jcl without doing an actual execution. cant for the life of me figure out how to do this. I tried TYPRUN=SCAN but that only expands one level of the procedures. my batch jobs are rife with nested procedures (one procedure called from inside another procedure). any suggestions from anybody on how to get a fully expanded listing of what would be the runtime JCL? |
ironponygrl,
Are these nested procedures all in the same library? If so they should have expanded.
Did you try to list the libraries as JCLLIB? I coded a simple nested proc. The CTMNCAL proc invokes another proc named MYPROC1 and the CKCALNDR proc invokes another proc named MYPROC2 and everything is expanded. Here is an example.
Code: |
//NESTPROC JOB 'KOLUSU',
// CLASS=A,
// MSGCLASS=H,
// MSGLEVEL=(1,1),
// TIME=(,15),
// TYPRUN=SCAN,
// NOTIFY=KOLUSU
//*
//MYLIBS JCLLIB ORDER=KOLUSU.TEST.PROCLIB
//*
//WRKNCAL EXEC PROC=CTMNCAL
//CURWRKWK EXEC PROC=CKCALNDR
|
In your JESYSMSG you should have something like this for every proc that is expanded.
Code: |
IEFC001I PROCEDURE CTMNCAL WAS EXPANDED USING PRIVATE LIBRARY KOLUSU.TEST.PROCLIB
....
|
_________________ Kolusu
www.linkedin.com/in/kolusu |
|