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

Get Transaction form an Application program


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
casgarcia

New User


Joined: 06 May 2009
Posts: 21
Location: Madrid

PostPosted: Fri Aug 21, 2009 1:51 pm
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Aug 21, 2009 5:07 pm
Reply with quote

Your transaction was set up by your tech services - DBA group.
Back to top
View user's profile Send private message
Suthagar

New User


Joined: 01 Jul 2005
Posts: 26
Location: Chennai

PostPosted: Tue Sep 01, 2009 4:36 pm
Reply with quote

Hi Sandy,

Could you please tell me how the transaction ID and application program are corelated? Apart from DBA.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Sep 01, 2009 4:52 pm
Reply with quote

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
View user's profile Send private message
Suthagar

New User


Joined: 01 Jul 2005
Posts: 26
Location: Chennai

PostPosted: Tue Sep 01, 2009 5:29 pm
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Sep 01, 2009 5:35 pm
Reply with quote

If you do some research, then you will learn and remember......

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims9.doc.adb/dba113.htm
Back to top
View user's profile Send private message
Suthagar

New User


Joined: 01 Jul 2005
Posts: 26
Location: Chennai

PostPosted: Tue Sep 01, 2009 5:49 pm
Reply with quote

Thanks Sandy.... Its really helpful....
Back to top
View user's profile Send private message
Suthagar

New User


Joined: 01 Jul 2005
Posts: 26
Location: Chennai

PostPosted: Tue Sep 01, 2009 8:37 pm
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Sep 01, 2009 9:58 pm
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Sep 01, 2009 10:04 pm
Reply with quote

Here is the concept involving DC - MFS - if you look at both of these links, you will learn.

www.sysed.com/DnLoads/QualityContents/IMSMFS/04a_402C01MFds.pdf

and

publib.boulder.ibm.com/infocenter/rbdhelp/v7r1m0/index.jsp?topic=/com.ibm.etools.egl.doc/topics/generation/gegl_xfer_ims_mfs_ref.html
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top