| View previous topic :: View next topic |
| Author |
Message |
siva_marthala Beginner
Joined: 20 Mar 2007 Posts: 7 Topics: 2 Location: Pune
|
Posted: Fri Aug 01, 2008 7:27 am Post subject: MQ Series Queue clarification |
|
|
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 |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Fri Aug 01, 2008 8:24 am Post subject: |
|
|
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 |
|
 |
siva_marthala Beginner
Joined: 20 Mar 2007 Posts: 7 Topics: 2 Location: Pune
|
Posted: Mon Aug 04, 2008 6:56 am Post subject: |
|
|
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 |
|
 |
|
|
|