Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can we find the unused programs in a library by running a JC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
silentarya

New User


Joined: 11 Mar 2007
Posts: 35
Location: Chennai

PostPosted: Tue Sep 23, 2008 6:11 pm    Post subject: Can we find the unused programs in a library by running a JC
Reply with quote

Hi,

We store all our COBOL progs in NIST.COBOL.SOURCE.
There is a re-org happening. They want to remove all the unused programs to archive.

Is there a way that i can write a jcl and find out which are the unused programs ?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Tue Sep 23, 2008 6:15 pm    Post subject:
Reply with quote

Writing the JCl would be easy enough, unfortunately the logic required in the program that your newly written CJL would execute will take a whole lot of consideration, coding and testing.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8280
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 23, 2008 6:18 pm    Post subject:
Reply with quote

Quote:
Is there a way that i can write a jcl and find out which are the unused programs ?
How do you define unused program? For subprograms you could check the library for all called routines (although that's not a very straight forward process to start with) and mark them. However, for batch and CICS programs how would you classify them as unused? Over time you could track via SMF statistics which programs are executed but it would take a while (at least a year, since some programs only run once a year) before you could even begin to identify which programs are "unused" in the sense of not being executed.

The simpler solution would be simply to archive everything and see what's pulled back from archive.
Back to top
View user's profile Send private message
silentarya

New User


Joined: 11 Mar 2007
Posts: 35
Location: Chennai

PostPosted: Tue Sep 23, 2008 6:20 pm    Post subject: Reply to: Can we find the unused programs in a library by ru
Reply with quote

Basically the target would be to run the JCL and write the names of the unused programs onto a DSN??
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Sep 24, 2008 12:14 am    Post subject:
Reply with quote

Hello,

Quote:
Basically the target would be to run the JCL and write the names of the unused programs onto a DSN??
Writing the names in a file is the easy part. Determining the "unused" program names is where you will have problems (as has been mentioned in erlier replies).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts Need Help!!CEE library issue while br... kaushikv CICS 9 Fri Mar 09, 2018 6:06 pm
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm
No new posts OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
No new posts Job is running with no response!!! Vignesh Sid DB2 3 Fri Oct 27, 2017 6:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us