Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to find out all the transactions that use a CICS program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Vijaya Kommuri

New User


Joined: 22 May 2009
Posts: 2
Location: Pune

PostPosted: Fri May 13, 2011 2:38 pm    Post subject: How to find out all the transactions that use a CICS program
Reply with quote

I have a CICS program. I am analyzing to find out whether we can scratch the program if it is not being used by any other transactions or programs. So please specify is there a way to list all the transactions that use that particular program
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri May 13, 2011 2:44 pm    Post subject:
Reply with quote

Your software configuration management tool would be the place for that information.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Fri May 13, 2011 2:46 pm    Post subject:
Reply with quote

Quote:
So please specify is there a way to list all the transactions that use that particular program
No. Depending upon the logic in the program, there could be a program name built in a program that is then used in an EXEC CICS LINK or EXEC CICS XCTL command -- so looking at code will not tell you.

You could run a STAT and see if the program was used during that CICS execution -- but if the program is only used once in a while, you easily could miss the program execution unless you looked at a lot of STAT runs over time.
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Tue May 17, 2011 12:57 pm    Post subject: Re: How to find out all the transactions that use a CICS pro
Reply with quote

You can use the CEMT utility transaction to find all transactions that point to your program. Just enter CICS and type "CEMT IN TRA(*) PROGRAM(ABCDEFG)" to see a list of transactions for program ABCDEFG.
But the more complicated part of your investigations is checking the source of all CICS programs for direct references to your program (as mentioned by Robert Sample in a previous post).

You could also put the load module into a separate library and let the system guys monitor each invocation. I'm not sure if they really will get the transaction that causes the load. You should investigate on this.

A more "brute force" method I've seen a while ago was to delete the load module from the active load libraries. If there is still a calling program, this will lead to a severe error in CICS which can easily be trapped, especially because most application programmers won't have any error handling for PGMIDERR error condition which will raise when linking to a nonexistent program. icon_wink.gif
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us