Find programs ran by transaction

Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Find programs ran by transaction

Postby kaos » Thu Aug 05, 2010 8:17 pm

I'm just having a go at learning more about z/OS and mainframes in general and as such am working through questions for a contest.
I've come to a halt at trying to firstly find what program/s are run by a transaction. After this I have to find what datasets these programs are loaded from but I assume that will not be difficult.
The question says to use SDSF to view the JCL of CICS but using the SJ command on the job just gives a file with:
I'm assuming I'm missing something quite simple and am sorry for asking a probably extremely simple question. It will bug me till I find out how to do it though heh.

Posts: 1
Joined: Thu Aug 05, 2010 7:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Find programs ran by transaction

Postby Robert Sample » Thu Aug 05, 2010 8:30 pm

The first part is easy: sign onto the CICS region, enter CEMT I TRANS(????) and hit enter. The system will respond with a couple lines of data about the transaction, including the program -- PRO(????????) -- being invoked by the transaction. However, after that you either need to manually review the source code to see which programs are called (via EXEC CICS LINK, EXEC CICS XCTL, or program call) by that program, or you can run a CEDF session to interactively find every CICS LINK or XCTL (although this won't find program CALL statements).

The programs will be loaded from DFHRPL in the CICS procedure. You'll want to check them in the concatenation sequence, though, as the same program in two concatenated libraries results in only the first being executed -- the program in the second library will never be accessed. For this reason, QA (and TEST) regions often have the production libraries concatenated so any programs not in the QA (or TEST) libraries get picked up from production.
Robert Sample
Global moderator
Posts: 3662
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 271 times

Return to CICS


  • Related topics
    Last post