View previous topic :: View next topic
|
Author |
Message |
manoj_june1973
New User
Joined: 20 May 2006 Posts: 8
|
|
|
|
I have a program associated with many tranasaction. How i will know what are all the tranasaction associated to that program ? |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
"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 |
|
|
manoj_june1973
New User
Joined: 20 May 2006 Posts: 8
|
|
|
|
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 |
|
|
benhuntit
New User
Joined: 23 May 2006 Posts: 5
|
|
|
|
use CEDA
e.g. CEDA EXPAND GR(*) TRANSID(your transid)
gives you the program associated with the trans |
|
Back to top |
|
|
manoj_june1973
New User
Joined: 20 May 2006 Posts: 8
|
|
|
|
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 |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
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 |
|
|
manoj_june1973
New User
Joined: 20 May 2006 Posts: 8
|
|
|
|
Thanks gskulkarni,
This is what i am looking for , and now i got from you . Thanks once more. |
|
Back to top |
|
|
benhuntit
New User
Joined: 23 May 2006 Posts: 5
|
|
|
|
ON MY VSE SYSTEM YOUR CEMT DOESN'T WORK ... CANNOT MIX TRANS AND PROGRAMS ON A SINGLE INQUIRE |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
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 |
|
|
benhuntit
New User
Joined: 23 May 2006 Posts: 5
|
|
|
|
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 |
|
|
|