Johnny,
There are products out there that will probably do this for you. If
you want to write some sas code you can probably do this as well. The
'hidden" issue is that when a PGM=ABC dynamically calls program XYZ
there is no JCL for XYZ.
Again there is a product that (IIRC) front ends fetch that will catch
all of these .
I am loath to recommend any program that or front ends fetch or hooks
into the(any) SVC.
The SAS option is the easiest, I believe.
Ed
On Jun 12, 2006, at 4:39 AM, Johnny Luo wrote:
Hi,
Recently I've got a mission from my manager. He asked me:If I got a
JCL
which runs many cobol programs,how can I
know whether these load modules exist or not without actually
running it?
He also mentioned that he remembered there is a parm in JCL which
can do
this. I guess he means 'TYPRUN=SCAN'.
However,'TYPRUN=SCN' only does syntax check and it cannot judge
whether a
load module exists.(I also did a test on
this).
So,can anyone give me some hints on this?In fact,I intend to write
a rexx to
scan the JCL and extract names of programs
and then search the library or link list.But,it seems that's not
the method
my manager expects.
--
Best Regards,
Johnny Luo
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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