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 

MQ Series Queue clarification

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
siva_marthala
Beginner


Joined: 20 Mar 2007
Posts: 7
Topics: 2
Location: Pune

PostPosted: Fri Aug 01, 2008 7:27 am    Post subject: MQ Series Queue clarification Reply with quote

Could you please let me know,

How to copy a MQ Series queue to another MQ Series Queue without deleting the data in first MQ Series Queue.

Say Data from MQ Series Queue ABC.V0D.0.IN to MQ Series Queue XYZ.V0D.0.OUT without deleting the data in ABC.V0D.0.IN


I read that using MQGET and MQPUT we can acheive this. but DATA in first MQ will be deleted unless we make it Brose First and Brose Next options. so, i need to set some parameters or options to Browse and copy the data.

please let me know any one having idea or program.
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Fri Aug 01, 2008 8:24 am    Post subject: Reply with quote

Check the MQ Administration Guide for the CSQUTIL functions for COPY and LOAD to copy messages from one queue to another.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.


Last edited by Bill Dennis on Mon Aug 04, 2008 8:47 am; edited 1 time in total
Back to top
View user's profile Send private message
siva_marthala
Beginner


Joined: 20 Mar 2007
Posts: 7
Topics: 2
Location: Pune

PostPosted: Mon Aug 04, 2008 6:56 am    Post subject: Reply with quote

Thanks Bill.

Right now i am trying with the following calls in COBOL program.

MQOPEN (MQOO_BROWSE)
MQGET (MQGMO_BROWSE_FIRST, MQGMO_BROWSE_NEXT )
MQPUT (MQOO_OUTPUT).

will let you know incase of success and refer your suggestion incase.

Seniors ; please throw the light on this problem.


Thanks
Siva...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware 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