defining, buffer pools, page sets, input data set, CSQINP1, defining and manipulating at startup, objects, recoverable objects, defining objects at startup, CSQINP2, manipulating objects at startup, distributed queuing, channel initiator, CSQINPX input data set" /> Initialization commands

 

Initialization commands

Commands in the initialization input data sets are processed when WebSphere MQ is initialized on queue manager startup. Three types of command can be issued from the initialization input data sets:

Note:
If WebSphere MQ objects are defined in CSQINP2, WebSphere MQ attempts to redefine them each time the queue manager is started. If the queues already exist, the attempt to define them fails. If we need to define your objects in CSQINP2, we can avoid this problem by using the REPLACE parameter of the DEFINE commands, however, this will override any changes that were made during the previous run of the queue manager.

Sample initialization data set members are supplied with WebSphere MQ for z/OS. They are described in Sample definitions supplied with WebSphere MQ.

 

Initialization commands for distributed queuing

We can also use the CSQINP2 initialization data set for the START CHINIT command. If we need a series of other commands to define your distributed queuing environment (for example, starting listeners), WebSphere MQ provides a third initialization input data set, called CSQINPX, that is processed as part of the channel initiator started task procedure.

The MQSC commands contained in the data set are executed at the end of channel initiator initialization, and output is written to the data set specified by the CSQOUTX DD statement. You might use the CSQINPX initialization data set to start listeners for example.

A sample channel initiator initialization data set member is supplied with WebSphere MQ for z/OS. It is described in Sample definitions supplied with WebSphere MQ.