ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Backup Messages from OS/390 Queue to dataset (in and out)

Post new topic  Reply to topic
 Backup Messages from OS/390 Queue to dataset (in and out) « View previous topic :: View next topic » 
Author Message
EgilsJ.Rubenis
PostPosted: Wed Jul 09, 2003 11:20 pm    Post subject: Backup Messages from OS/390 Queue to dataset (in and out) Reply with quote

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
View user's profile Send private message Send e-mail
interactivechannel
PostPosted: Thu Jul 10, 2003 12:59 am    Post subject: Reply with quote

Voyager

Joined: 20 May 2003
Posts: 94
Location: uk

Start at page 208 of WMQ for z/Os System Admin Guide.
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Thu Jul 10, 2003 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Backup Messages from OS/390 Queue to dataset (in and out)
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.