|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Backup Messages from OS/390 Queue to dataset (in and out) |
« View previous topic :: View next topic » |
Author |
Message
|
EgilsJ.Rubenis |
Posted: Wed Jul 09, 2003 11:20 pm Post subject: Backup Messages from OS/390 Queue to dataset (in and out) |
|
|
Acolyte
Joined: 18 Nov 2002 Posts: 63 Location: Germany, Alfeld
|
Hi,
has anybody a hint how to save messages from a queue on os390 to a dataset and how to put the stored messages back on the queue.
thanks
Egils |
|
Back to top |
|
 |
interactivechannel |
Posted: Thu Jul 10, 2003 12:59 am Post subject: |
|
|
Voyager
Joined: 20 May 2003 Posts: 94 Location: uk
|
Start at page 208 of WMQ for z/Os System Admin Guide. |
|
Back to top |
|
 |
mgrabinski |
Posted: Thu Jul 10, 2003 9:37 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
Use CSQUTIL.
First issue a COPY command, then LOAD. Here are sample jobs:
Code: |
//CSQUTIL EXEC PGM=CSQUTIL,PARM='qmgr'
//STEPLIB DD DISP=SHR,DSN=MQM.SCSQANLE
// DD DISP=SHR,DSN=MQM.SCSQAUTH
//SYSPRINT DD SYSOUT=*
//OUTPUT1 DD DSN=ds_name,DISP=(NEW,CATLG),
// SPACE=(CYL,(5,5),RLSE),DCB=(RECFM=VBS,BLKSIZE=23200)
//SYSIN DD *
COPY QUEUE(queue_name) DDNAME(OUTPUT1)
/*
|
Code: |
//CSQUTIL EXEC PGM=CSQUTIL,PARM='qmgr'
//STEPLIB DD DISP=SHR,DSN=MQM.SCSQANLE
// DD DISP=SHR,DSN=MQM.SCSQAUTH
//SYSPRINT DD SYSOUT=*
//INPUT1 DD DSN=ds_name,DISP=SHR
//SYSIN DD *
LOAD QUEUE(queue_name) DDNAME(INPUT1)
/*
|
_________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|