Since no has mentioned it, I should point out that the PDS command, available on the mods tape, as well as its proprietary progeny (StarTool), includes a FINDMOD function that will identify all locations where a load module could be found in the current environment, all the way from STEPLIB to LINKLIST to LPA. Surely easier than writing you own code.
. . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile [email protected] From: Peter Relson <[email protected]> To: [email protected], Date: 07/25/2014 06:18 AM Subject: Find member in Linklist through JCL? Sent by: IBM Mainframe Discussion List <[email protected]> CSVQUERY is mentioned. That is not the answer. It will tell you if something is in LPA. It will give you information about something in the job pack area. It will not tell you if something is in the LNKLST. And of course it will not tell you in which data set. If willing to write a program, BLDL seems to me to be the way to go. Use the DCB pointed to by CVTLINK. The output from BLDL indicates the concatenation number (i.e. which data set within the LNKLST), but then perhaps we're stuck if unauthorized because getting the data set by data set definition of the LNKLST requires some sort of authorization (whether using D PROG,LNKLST or the CSVDYNL programming interface which can be authorized by state, key, or security product profile). Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
