Migrating a channel initiator parameter module (XPARM) on z/OS

We can use the XPARM function of CSQUTIL to generate ALTER QMGR command that can be used to migrate to Version 7.0.

In versions of IBM MQ for z/OS® before Version 6.0, you could tailor the channel initiator by creating a channel initiator parameter load module. In Version 7.0, you do it by setting queue manager attributes. To make it easier to migrate to Version 7.0, this command generates an ALTER QMGR command from a pre-Version 6.0 channel initiator parameter module.

Migration (XPARM)

XPARM DDNAME( ddname) MEMBER( membername) MAKEALT( ddname2)


Keywords and parameters

    DDNAME(ddname)
    Specifies that an ALTER QMGR command is to be generated from a channel initiator parameter module in this data set.
    MEMBER(membername)
    Specifies the name of the channel initiator parameter module in the data set specified by DDNAME(ddname2).
    MAKEALT(ddname2)
    Specifies the DDname that identifies the output data set in which the ALTER command is to be stored. The data set should be RECFM=FB, LRECL=80. This data set can then be used as input for a later invocation of the COMMAND function or it can be incorporated into the CSQINP2 initialization input data sets.


Example

Figure 1. Sample JCL for the CSQUTIL XPARM function
//MIGRATE1 EXEC PGM=CSQUTIL
//STEPLIB  DD DISP=SHR,DSN=thlqual.SCSQANLE
//         DD DISP=SHR,DSN=thlqual.SCSQAUTH
//CSQXPARM DD DISP=SHR,DSN=user.loadlib
//SYSPRINT DD SYSOUT=*
//ALTQMGR  DD DISP=OLD,DSN=user.commands(ALTQMGR)
//SYSIN DD *
XPARM DDNAME(CSQXPARM) MEMBER(MQ3AXPRM) MAKEALT(ALTQMGR)
/*