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
 

 

Get Transaction form an Application program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Get Transaction form an Application program
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    Post subject:
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    Post subject: Reply to: Get Transaction form an Application program
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    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

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

http://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    Post subject: Reply to: Get Transaction form an Application program
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    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

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

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

and

http://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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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