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 all the Transaction name associated to a pgm.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to find all the Transaction name associated to a pgm.
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    Post subject:
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    Post subject:
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    Post subject: Re: How to find all the Transaction name associated to a pgm
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    Post subject:
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    Post subject: Re: How to find all the Transaction name associated to a pgm
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    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 1 Thu Jan 19, 2017 1:31 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm


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