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

How to find all the Transaction name associated to a pgm.


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

New User


Joined: 20 May 2006
Posts: 8

PostPosted: Mon May 22, 2006 2:38 pm
Reply with quote

I have a program associated with many tranasaction. How i will know what are all the tranasaction associated to that program ?
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Mon May 22, 2006 5:21 pm
Reply with quote

"associated" is very ambagious.
Do you mean to say
"there are many transactions which initiate this simgle program" ?
if so, how come?

and if you mean that this prog is being called by various transactions in their respective flows, it is highly unlikely to get such kind of data. You need to scan ur trans and respective [gms to see if it is called.

Although looking at PCT entries would be a good start
Back to top
View user's profile Send private message
manoj_june1973

New User


Joined: 20 May 2006
Posts: 8

PostPosted: Mon May 22, 2006 10:55 pm
Reply with quote

in PCT we are entering trans id and program name(lets say pgm1), like this let's assume we have 100 PCT entries with different trans id but the same program name pgm1. Now my question is how i will get all the trans id's which are using the program pgm1. reading through each PCT entry is not possible because we can see the PCT entries by using trans id not by program name.
Back to top
View user's profile Send private message
benhuntit

New User


Joined: 23 May 2006
Posts: 5

PostPosted: Tue May 23, 2006 11:22 am
Reply with quote

use CEDA

e.g. CEDA EXPAND GR(*) TRANSID(your transid)

gives you the program associated with the trans
Back to top
View user's profile Send private message
manoj_june1973

New User


Joined: 20 May 2006
Posts: 8

PostPosted: Tue May 23, 2006 3:09 pm
Reply with quote

My question is how to knwo all the trans id associated with a program, not to find the program name of a tranasaction.
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Tue May 23, 2006 3:10 pm
Reply with quote

benhuntit wrote:

e.g. CEDA EXPAND GR(*) TRANSID(your transid)
gives you the program associated with the trans


This gives programs associated with a given trans-id.
That is not (s)he wants.
given a program name, he wants the list of trans-ids associated with that.


Try this in your CICS region.

Code:
CEMT I TRA() PRO("your program name")


This should give you trans-ids for that program.
Back to top
View user's profile Send private message
manoj_june1973

New User


Joined: 20 May 2006
Posts: 8

PostPosted: Tue May 23, 2006 6:05 pm
Reply with quote

Thanks gskulkarni,
This is what i am looking for , and now i got from you . Thanks once more.
Back to top
View user's profile Send private message
benhuntit

New User


Joined: 23 May 2006
Posts: 5

PostPosted: Wed May 24, 2006 4:14 am
Reply with quote

ON MY VSE SYSTEM YOUR CEMT DOESN'T WORK ... CANNOT MIX TRANS AND PROGRAMS ON A SINGLE INQUIRE
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Thu May 25, 2006 9:34 am
Reply with quote

Well that is CICS supplied transaction CEMT i was talking about and not my own code. I to ohave learned that through a book only.

Below is the text from manual itself:

Type CEMT INQUIRE TRANSACTION (CEMT I TRANS) followed by as many of the other attributes as are necessary to limit the range of information that you require. So, for example, if you enter cemt i trans en pu, the resulting display will show you the details of only those transactions that are enabled and system-purgeable.

Perhaps you need to check within your CICS enviroment why is it not working. Perhaps the program is not residing in the CICS region. Can you give me exact details of what message you get?[/right]
Back to top
View user's profile Send private message
benhuntit

New User


Joined: 23 May 2006
Posts: 5

PostPosted: Thu May 25, 2006 10:35 am
Reply with quote

If I type

CEMT I TRAN(CED*) at a blank CICS screen on a VSE system

I get back

I TRAN(CED*)
STATUS: RESULTS - OVERTYPE TO MODIFY
Tran(CEDA) Pri( 001 ) Ena
Tran(CEDB) Pri( 001 ) Ena
Tran(CEDC) Pri( 001 ) Ena
Tran(CEDF) Pri( 001 ) Ena















APPLID=CICMSAM1
RESPONSE: NORMAL TIME: 16.04.00 DATE: 05.25.06
PF 1 HELP 3 END 7 SBH 8 SFH 9 MSG 10 SB 11 SF


There is not other options (besides ENA [for enabled]

Maybe it is different on an MVS system or a later release of CICS
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Start CICS transaction every day at 2AM CICS 4
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
Search our Forums:

Back to Top