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
 

 

MQ series and IDMS COBOL programs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
gpowell382

New User


Joined: 25 Aug 2005
Posts: 31
Location: USA

PostPosted: Wed Oct 05, 2005 11:34 pm    Post subject: MQ series and IDMS COBOL programs
Reply with quote

I very new to MQ series (using it about one month), but I have been a COBOL (and other languages) for over 30 years. We are currently using Enterprise COBOL and IDMS 15.0.

I have a project (to be completed by Dec 2005) to use MQ series to send data to a system and that system would process the data and send it back within 20 seconds. We do not have the personnel to change all of application programs to use MQPUT and MQGET (about 30-40 programs).

I would like to write two generic MQ series programs.

One MQ series COBOL program would do a MQPUT and be called (dynamic) by various IDMS COBOL programs (program "A"). These programs that call the MQPUT would pass the needed data to do the MQPUT. This process I can get to work.

One MQ series COBOL program would do a MQGET and be executed when there is something in the receiving Queue.

When program "A" calls the MQPUT and is waiting for a response from the MQGET program How would program "A" receive the data from the MQGET program and continue processing from the CALLed MQGET program? Since program "A" did not call the MQGET program.

If you know of a better way to process, please let me know.



Gary
Back to top
View user's profile Send private message

harvick29mdj

New User


Joined: 06 Oct 2005
Posts: 3

PostPosted: Thu Oct 06, 2005 1:45 am    Post subject: Re: MQ series and IDMS COBOL programs
Reply with quote

Here's one way. May not be the most efficient.

Program "A" can do the MQPUT. Then program "A" would go into a looping process that uses the Browse functionality looking at the ReplyTo Queue searching for the response that matches the put.
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 -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 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