Page 1 of 1

Expand proc inside JCL

PostPosted: Tue Sep 23, 2008 2:46 pm
by Ushe
Hi,
How to expand a proc in jcl without submitting the jcl, I dont have any any JClSCAN tool or other shop dependent tool to expand the proc,please guide me in doing this in rexx

Re: Expand proc inside JCL

PostPosted: Tue Sep 23, 2008 7:53 pm
by expat
Why not just browse the proc to find out what you need to know ?

Re: Expand proc inside JCL

PostPosted: Wed Sep 24, 2008 3:16 am
by dick scherrer
Hello,

If you put this
//         TYPRUN=SCAN,
in your JOB statement, you can see the expanded proc in the 2nd jes sysout (JESJCL). It will also show the resolution of any symbolic parameters.

Re: Expand proc inside JCL

PostPosted: Wed Sep 24, 2008 6:49 pm
by Bill Dennis
I once had an EDIT MACRO that would read the PROCLIBs and copy the PROC into the current JCL as ==MSG==> lines so you could see it. Can't find it now.