View previous topic :: View next topic |
Author |
Message |
tramasamy Beginner
Joined: 17 Dec 2002 Posts: 12 Topics: 8
|
Posted: Tue Dec 17, 2002 8:26 pm Post subject: Message Driven BMP |
|
|
How come the message driven BMP programs takes the input values from the Queue ?
Is it possible to see the messages ?
Thanks
Ramasamy |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Tue Dec 17, 2002 9:24 pm Post subject: |
|
|
A message-driven BMP or MPP uses two calls to retrieve input message from the host: GN and GU. A GU call retrieves the first segment of a message. The Get Next (GN) call retrieves subsequent segments.When you issue a successful GU or GN, IMS TM returns the message segment to the I/O area that you specify in the call. Message segments are not all the same length. Because the segment length varies, your I/O area must be long enough to hold the longest segment that your program can receive. The first two bytes of the segment contain the length of the segment.
Your application program must issue a GU call to the message queue before issuing other DL/I calls. When IMS TM schedules an MPP, the Transaction Manager transfers the first segment of the first message to the message processing region. When the MPP issues the GU for the first message, IMS TM already has the message waiting. If the application program does not issue a GU message call as the first call of the program, IMS TM has to transfer the message again, and the efficiency provided by message priming is lost.
If an MPP responds to more than one transaction code, the MPP has to examine the text of the input message to determine what processing the message requires.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
|
tramasamy Beginner
Joined: 17 Dec 2002 Posts: 12 Topics: 8
|
Posted: Tue Dec 17, 2002 9:29 pm Post subject: |
|
|
Thanks..
If the input is taken similar to segments,then there should be some mechanism to see the messages before entering into the program.
Can u please tell the procedure to see the messages in the Queue ?
Thanks
Ramasamy |
|
Back to top |
|
|
R.Nickel Beginner
Joined: 02 Dec 2002 Posts: 22 Topics: 0 Location: Sydney, Australia
|
Posted: Tue Dec 17, 2002 11:02 pm Post subject: |
|
|
Ramasamy,
BMC have a product 'QMANAGER' which lets you view delete unload /reload messages.
or asuming that the transactions are genned 'INQUIRY=(,N,,,RECOVER,)'
then they will be on the imslogs which you could dump using standard IMS utilities or even fileaid. _________________ Rainer
Last edited by R.Nickel on Tue Dec 17, 2002 11:17 pm; edited 1 time in total |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|