Need to find Obsolete PROC from JCLs



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Need to find Obsolete PROC from JCLs

Postby mohdmustafa__m » Tue Nov 26, 2013 8:55 am

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.
mohdmustafa__m
 
Posts: 6
Joined: Tue Nov 26, 2013 8:42 am
Has thanked: 0 time
Been thanked: 0 time

Re: Need to find Obsolete PROC from JCLs

 

Re: Need to find Obsolete PROC from JCLs

Postby dick scherrer » Tue Nov 26, 2013 8:50 pm

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).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Need to find Obsolete PROC from JCLs

Postby mohdmustafa__m » Fri Nov 29, 2013 5:02 am

Thanks a lot.. Once i tried and success, i'll post here how i did.
mohdmustafa__m
 
Posts: 6
Joined: Tue Nov 26, 2013 8:42 am
Has thanked: 0 time
Been thanked: 0 time

Re: Need to find Obsolete PROC from JCLs

Postby dick scherrer » Fri Nov 29, 2013 8:22 am

You're welcome - good luck :)

We look forward to seeing your implementation.

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post