View previous topic :: View next topic
|
Author |
Message |
casgarcia
New User
Joined: 06 May 2009 Posts: 21 Location: Madrid
|
|
|
|
Hi all,
Can you tell me how can an application program get the transaction name under what it is running (without read the input message)?.
I am thinking in some storage area accesibly from the program that contain the transaction name.
I try to get it from IO-PCB but IP-PCB hasn't got this information.
I also look for some command that permit the program read the transaction mame but I couldn't find it.
The execution enviroment is the following:
A message driven BMP is started and there's no messages in the input queue, the pgm issue a GU against the IO-PCB and get a QC. Before
finish the program the application need to obtain the transaction name under what it is running, but because there is no input message I don't know how to get the transaction name.
Please help!
Casimiro Garcia. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Your transaction was set up by your tech services - DBA group. |
|
Back to top |
|
|
Suthagar
New User
Joined: 01 Jul 2005 Posts: 26 Location: Chennai
|
|
|
|
Hi Sandy,
Could you please tell me how the transaction ID and application program are corelated? Apart from DBA. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Even before your application program was written, the transaction for that program was defined. In most shops, the transaction, PSB and program have corresponding names. Try to do some research on the ACB gen and the PSB gen. Try searching this forum...... |
|
Back to top |
|
|
Suthagar
New User
Joined: 01 Jul 2005 Posts: 26 Location: Chennai
|
|
|
|
I know PSB name will be given in DFSRC00 parms for IMS batch programs, I would like to know where the PSB has been mentioned for IMS DC. I know it is in ACB, but i would like to know how exactly it has been referred?
Suthagar. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
Back to top |
|
|
Suthagar
New User
Joined: 01 Jul 2005 Posts: 26 Location: Chennai
|
|
|
|
Thanks Sandy.... Its really helpful.... |
|
Back to top |
|
|
Suthagar
New User
Joined: 01 Jul 2005 Posts: 26 Location: Chennai
|
|
|
|
I know PSB name will be given in DFSRC00 parms for IMS batch programs, I would like to know where the PSB has been mentioned for IMS DC. I know it is in ACB, but i would like to know how exactly it has been referred?
Suthagar. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Look at your run JCL for a DLI. Are you running any BMPs? Well, the JCL for a BMP is almost the same EXCEPT - you will not have your databases defined in BMP JCL - they are retrieved from the PSB just like an MPP. Anyway, where you normally code "DLI" in your run JCL, you will code BMP.
In an MPP (IMS DC) take a look at your MFS. There is another post subject that I replied to within the last couple of weeks where I included a couple of links explaining that process. Did you see it? |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
Back to top |
|
|
|