View previous topic :: View next topic
|
Author |
Message |
gordonstaylor
New User
Joined: 16 May 2007 Posts: 3 Location: United Kingdom
|
|
|
|
Is there a simple way (e.g. in TSO) to determine the list of default prodedures libraries looked up as a result of an EXEC PROC statement?
JES will state IEFC001I PROCEDURE wxyz WAS EXPANDED USING SYSTEM LIBRARY ????.PROCLIB
I have an example where procedure being executed does not live in the PDS stated in the JES message, so need to look down the list of libraries to find out where it is.
Thanks
Gordon |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the issue is a bit murky ....
for static proclibs the only way is to look at the JES2 startup proc
for dynamic proclibs the command $D PROCLIB will tell
or look at the JCL for ORDER JCLLIB statements |
|
Back to top |
|
|
gordonstaylor
New User
Joined: 16 May 2007 Posts: 3 Location: United Kingdom
|
|
|
|
Thanks enrico,
Now you have go me. Where would I enter the command or find the JES2 startup proc?
The job in question has no ORDER JCLLIB statement, and the library in the JES message does not contain the proc, and nor does another of our standard libraries.
I have tried various flavours of Google search to no avail, and would not know where to start looking in IBM manuals! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
seems odd to me that zOS would issue a misleading message about finding something that is not there !
a quick and dirty ( if You have read access to the libraries ) could be thru ispf option 3.4
use as dataset mask **.proclib after that issue the command MEMBER JES2
it should tell where the jes2 procedure is picked up,
after that .... |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Where would I enter the command or find the JES2 startup proc? |
Your best bet would be to contact your site support group for assistance. They will be able to provide you this data, usually pretty quickly. The location of certain critical started tasks, such as JES, varies from site to site depending upon site standards, so there's no way anyone at this forum could tell you -- unless they work at your site.
And this is definitely NOT an area you want to just start looking on your own, as you probably don't have access to look, first, and your site management may take a dim view to your attempting to look, second. A batch of security violations around critical files doesn't look good when the managers review the report! |
|
Back to top |
|
|
gordonstaylor
New User
Joined: 16 May 2007 Posts: 3 Location: United Kingdom
|
|
|
|
Thank you Robert.
Totally agree with your second paragraph and given your suggestion in the first, this is why I resorted to the Forum in the first place, as given our outsourcing arrangement finding someone who knows would take even longer!
Embarrassingly and unsurprisingly ES and enrico were correct. I was given documentation on schedules deemed to be up to date, so when looking on our job archive I looked at the most recent run. Didn't notice it was 1998!! Strangely a colleague of similar experience also missed that point.
So in summary, thanks for your time. I will crawl under a rock and sleep it off!! |
|
Back to top |
|
|
|