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: 8593
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: 8165
Location: East Dubuque, Illinois, 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 pointers on using USS and C programs. Pedro All Other Mainframe Topics 0 Wed Oct 04, 2017 4:38 am
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. How to save expanded jcl's into one l... enrico-sorichetti CLIST & REXX 13 Thu Jul 27, 2017 2:45 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am

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