How to create and run a Queue Manager in it's own SubSystem

Technote (FAQ)


Question

You want to run a queue manager in it's own subsystem
but are not familiar with the steps to perform this task.

Answer

The attached sample program will create a subsystem and jobq for use by a queue manager and optionally start the new subsystem.

Program Invocation:
CALL PGM(<library>/WMQI5SYS) PARM(TEST QMTEST Y)

Parameter descriptions:
1) Name to use for subsystem and job queue objects
2) Queue manager library to create SBSD and JOBQ objects
3) Y|N - Whether or not to start the subsystem

Note: <library> is the name of the library where program has been restored.

The sample program can be run for an ACTIVE or INACTIVE queue manager. If the queue manager is ACTIVE, it will have to be recycled in order to run in the new subsystem.


Zip file attachment below contains SAVF with CL program source and object code
Program Name: WMQI5SYS
Saved Library: QGPL
Program object compiled at OS release v5.4

Note: By using the code examples, you agree to the terms of the

Code license and disclaimer information

IBM grants you a nonexclusive copyright license to use all programming code examples from which you can generate similar function tailored to your own specific needs.

SUBJECT TO ANY STATUTORY WARRANTIES WHICH CANNOT BE EXCLUDED, IBM, ITS PROGRAM DEVELOPERS AND SUPPLIERS MAKE NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, REGARDING THE PROGRAM OR TECHNICAL SUPPORT, IF ANY.

UNDER NO CIRCUMSTANCES IS IBM, ITS PROGRAM DEVELOPERS OR SUPPLIERS LIABLE FOR ANY OF THE FOLLOWING, EVEN IF INFORMED OF THEIR POSSIBILITY:
1. LOSS OF, OR DAMAGE TO, DATA;
2. DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES, OR FOR ANY ECONOMIC
CONSEQUENTIAL DAMAGES; OR
3. LOST PROFITS, BUSINESS, REVENUE, GOODWILL, OR ANTICIPATED SAVINGS.

SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF DIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, SO SOME OR ALL OF THE ABOVE LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU.


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere MQ
Configuration

Software version:

7.0.1, 7.1

Operating system(s):

OS/400, i5/OS, iSeries

Software edition:

All Editions

Reference #:

1617766

Modified date:

2012-12-29

Translate my page

Machine Translation

Content navigation