Use the rcdmqimg command to write an image of an object, or group of objects, to the log for use in media recovery. Use the associated command rcrmqobj to recreate the object from the image.
You use this command with an active queue manager. Further activity on the queue manager is logged so that, although the image becomes out of date, the log records reflect any changes to the object.
This parameter is required unless you are recording a queue manager object or the channel synchronization file. Any object name you specify for the channel synchronization file is ignored.
| nl or namelist | Namelists |
| prcs or process | Processes |
| q or queue | All types of queue |
| ql or qlocal | Local queues |
| qa or qalias | Alias queues |
| qr or qremote | Remote queues |
| qm or qmodel | Model queues |
| qmgr | Queue manager object |
| syncfile | Channel synchronization file |
| ctlg or catalog | An object catalog |
| authinfo | Authentication information, for use with Secure Sockets Layer (SSL) channel security |
| * or all | All the above |
Note: | When using WebSphere MQ for UNIX systems, you need to prevent the shell from interpreting the meaning of special characters, for example, *. How you do this depends on the shell you are using, but might involve the use of single quotation marks, double quotation marks, or a backslash. |
Optional parameters
When issuing a sequence of rcdmqimg commands, include the -l parameter only on the last command in the sequence, so that the log file information is gathered only once.
0 | Successful operation |
36 | Invalid arguments supplied |
40 | Queue manager not available |
49 | Queue manager stopping |
68 | Media recovery not supported |
69 | Storage not available |
71 | Unexpected error |
72 | Queue manager name error |
119 | User not authorized |
128 | No objects processed |
131 | Resource problem |
132 | Object damaged |
135 | Temporary object cannot be recorded |
The following command records an image of the queue manager object saturn.queue.manager in the log.
rcdmqimg -t qmgr -m saturn.queue.manager
rcrmqobj | Recreate a queue manager object |