IBM Mainframe Forum Index
Log In
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register

Cobol upgrade - source code missing for load modules.

IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message

New User

Joined: 22 Feb 2017
Posts: 8
Location: India

PostPosted: Wed Apr 26, 2017 6:04 pm
Reply with quote

Cobol upgradation is gonna happen soon. My application has many load modules which don't have source code. Need to recheck whether they are active/inactive. For now I have created a list of data for both COBOL load members as well as CICS load members which are using cobol codes. Initially the data was in text format. I pushed them into mainframes now as separate PDS datasets where they contain the names of load members.

Now my requirement is need to compare these datasets with JCL jobs library as well as Procedure library and cross-check whether they are active/inactive. Is there any shortcut/usage of any tool to perform this ?? Apart from the SRCHFOR option. Please let me know if there is a way !!!

Many thanks in advance !!
Goutham Raj.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator

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

PostPosted: Wed Apr 26, 2017 7:21 pm
Reply with quote

How do you know if they are active or not? This is NOT an easy thing to determine -- the system doesn't track this. Consider these scenarios:

- Main program executes in batch job. This is easy to identify but may require SMF data to know when / how often it executes.

- Subprogram executed from main program in batch job. This may be fairly easy to identify but not always -- a COBOL dynamic call, for example, may be in the form CALL WS-SUBPROGRAM where WS-SUBPROGRAM is a variable and the program name is put in the variable with a MOVE statement.

- Main program executes in CICS. The CICS statistics may help you identify them.

Your best bet would be to analyze the SMF type 30 records (and 110 for CICS) for a period of time -- at least going back to the last end of year (calendar AND fiscal if they are different). This won't necessarily identify all the subprograms but it should identify the main programs.
- Subprogram executed from a CICS main program. Again, this can present difficulties -- the subprogram can be called at least 4 different ways.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools


Similar Topics
Topic Forum Replies
No new posts SQLCODE=-311 in Cobol SP-DB2. COBOL Programming 2
No new posts Unload and Load ISPF Table TSO/ISPF 4
No new posts COBOL 6.4 - User Defined Function nee... COBOL Programming 6
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Load new table with Old unload - DB2 DB2 6
Search our Forums:

Back to Top