Lizette: Don't waste effort in doing this. Docet from RES (www.res-it.com) does this and more. And, it gives you the ability to go from the source objects (program source) through to what scheduler nets are using files, jobs, procs, programs, etc. It is THE most powerful JCL management solution available, period. I have been involved in the automated operations area since 1982 and can tell you without hesitation, Docet will give you everything you need, in a GUI display, with selectable capability to go up and down throughout any and all relationships.
Mitch McCluhan, Legacy Modernization Consultant -----Original Message----- From: Lizette Koehler <stars...@mindspring.com> To: IBM-MAIN <IBM-MAIN@LISTSERV.UA.EDU> Sent: Wed, Feb 11, 2015 6:22 pm Subject: XREF Members of JCL libs and their datasets I am looking to see if there are any easy ways to do the following I have a huge JCL PDS. I need to list out all members and the datasets they use (create/Del/open according to DISP= in JCL) I then need an xref by dsn and the jobs (member name = Job name in most cases) that use them Report 1 Member1 DSN1 Create Member2 DSN1 Open DSN2 Open, Migrate (has a another step that issues the HSM Migrate command ) DSN3 Delete DSN4(mem) Open - Indicates control card input Report 2 DSN1 Member1 Member2 DSN2 Member2 DSN3 Member2 DSN4(mem) Member2 Control card Input that affects the DSNx is okay to list - no need to know what is in the Control member at this time. This information is not in a Scheduler package. So this is just grunt type work. I have a couple of options with REXX and SAS. But thought if anyone had any ideas, I would like to see if there is another way to do this. I will eventually run SMF data and compare it to these reports to see what is actually running or in use. I can unload the JCL PDS into an IEBUPDTE file and go from there or use REXX with LM functions to read members one at a time. Thoughts or suggestions always welcomed. Lizette ---------------------------------------------------------------------- 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