IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Default PROCLIBs


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gordonstaylor

New User


Joined: 16 May 2007
Posts: 3
Location: United Kingdom

PostPosted: Thu Feb 16, 2012 6:40 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 16, 2012 6:59 pm
Reply with quote

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
View user's profile Send private message
gordonstaylor

New User


Joined: 16 May 2007
Posts: 3
Location: United Kingdom

PostPosted: Thu Feb 16, 2012 7:55 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 16, 2012 8:03 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Feb 17, 2012 1:32 am
Reply with quote

Did you read the description of the message IEFC001I ?

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M8C0/SPTHH001I
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 17, 2012 2:12 am
Reply with quote

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
View user's profile Send private message
gordonstaylor

New User


Joined: 16 May 2007
Posts: 3
Location: United Kingdom

PostPosted: Fri Feb 17, 2012 1:57 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts JDBC Driver -Default Values DB2 1
No new posts Default attributes for undeclared SYS... PL/I & Assembler 3
Search our Forums:

Back to Top