McKown, John wrote:
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[EMAIL PROTECTED] On Behalf Of R.S.
Sent: Monday, June 12, 2006 8:54 AM
To: [email protected]
Subject: Re: Decide whether programs invoked by a JCL exist
<snip>
If you have a product like Jobscan or Pro/JCL you can use
it to locate
JCL which calls a module which cannot be located.
Does it check modules loaded i.e. via CALL ?
--
Radoslaw Skorupka
No, only the module listed in the PGM= parm on the EXEC statement. It
does not attempt to "run" or examine the module at all. Just verify that
it exists on the STEPLIB/JOBLIB or Link List. I'm not even sure if it
checks if the module is marked "not executable" or not.
I should enclose the above text in some <rhetorical> tags, since the
answer is obvious. I just wanted to mention that even such tool is not
100% effective. Even if it was (which is simply impossible in case of
CALL variablename), the result was accurate at the time of checking, not
the time of job execution.
--
Radoslaw Skorupka
Lodz, Poland
----------------------------------------------------------------------
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