Page 1 of 1

Need to find Obsolete PROC from JCLs

PostPosted: Tue Nov 26, 2013 8:55 am
by mohdmustafa__m
Hi ,
I have a Jcl library (with > 3500 jcls) and Proc library (with >2000). I need to know the list of PROCs which are unused in JCL library or vice versa?
Hope someone will help to find some solutions to my questions. Thanks.

Re: Need to find Obsolete PROC from JCLs

PostPosted: Tue Nov 26, 2013 8:50 pm
by dick scherrer
Hello and welcome to the forum,

Create a list of all of the PROC members.

Search the JCL library for lines with eiither EXEC PROC= or Exec NOT followed by PGM= and store the procedure name along with the jcllib member name.

Sort this second list by procedure name and then match against the list of PROC members (these should already be in procedure name sequence).

Re: Need to find Obsolete PROC from JCLs

PostPosted: Fri Nov 29, 2013 5:02 am
by mohdmustafa__m
Thanks a lot.. Once i tried and success, i'll post here how i did.

Re: Need to find Obsolete PROC from JCLs

PostPosted: Fri Nov 29, 2013 8:22 am
by dick scherrer
You're welcome - good luck :)

We look forward to seeing your implementation.

d