Classification: Confidential JES2 command $DPROCLIB. Will not include procs invoked via the // JCLLIB ORDER- Also the JES messages dataset will show where the proc was actually resolved from .
HTH, -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Pommier, Rex Sent: Wednesday, November 13, 2024 3:45 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXTERNAL] Listing proclibs [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] Check your JES2 proc in SYS1.PROCLIB and look for PROCnn DD statements. Those will be your candidates for system PROCs. Go to SYS1.PARMLIB(JES2PARM) for JOBCLASS statements and they might have PROCLIB parameters in them. If they don’t, they'll be using PROC00. If they have something, that's the PROCnn statement from JES2 they'll be using. 2 caveats/notes. Using JCLLIB in the JCL changes everything. If you're looking for a particular job, the job output will tell you what library it got pulled from. Rex -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Bob Bridges Sent: Wednesday, November 13, 2024 3:33 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Listing proclibs Ah, I should have thought long ago to ask this question here! I'm slow, I am. Is there a way - I expect there is - to look up in z/OS what libraries are used as production proclibs? Lest I discover too late that I phrased the question wrong, let me spell it out: I'm told that our scheduler uses four DSNs for the job libraries in the production LPAR, but they're all named xxx.CNTL. I know some production JCL is kept in various.PROCLIB (and probably other PDSs as well, but those at least). What I think is happening is that the scheduler submits a job from xxx.CNTL(member), which member consists mostly of a JOB card, comments and "//stepname DD EXEC procname". The procname is a member in another library, and some time during IPL the list possible proclibs is established by some starting parm or chain of parms. That list is searched whenever a job says "EXEC procname", much as the SYSEXEC and SYSPROC concatenations are searched when I say "TSO command" at the ISPF command line. So now I want to get a complete list of the proclibs, and I suppose if I only knew how to look it up I could find it in the startup parms somewhere. Better yet, the method is probably documented in the z/OS instructions. Can someone fill me in, please? --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* Being famous has its benefits, but fame isn't one of them. -Larry Wall */ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ::DISCLAIMER:: ________________________________ The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ________________________________ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN