MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Message Driven BMP

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
tramasamy
Beginner


Joined: 17 Dec 2002
Posts: 12
Topics: 8

PostPosted: Tue Dec 17, 2002 8:26 pm    Post subject: Message Driven BMP Reply with quote

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


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Tue Dec 17, 2002 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
tramasamy
Beginner


Joined: 17 Dec 2002
Posts: 12
Topics: 8

PostPosted: Tue Dec 17, 2002 9:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
R.Nickel
Beginner


Joined: 02 Dec 2002
Posts: 22
Topics: 0
Location: Sydney, Australia

PostPosted: Tue Dec 17, 2002 11:02 pm    Post subject: Reply with quote

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


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Tue Dec 17, 2002 11:10 pm    Post subject: Reply with quote

tramasamy,

Browsing the Message Queues (BROWSE)

Querying the Message Queues (QUERY)

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group