The names of the IBM MQ queue managers and their corresponding language interface tokens (LITs) must be defined in the queue manager definition table.
Use the supplied CSQQDEFX macro to create the CSQQDEFV load module. Figure 1 shows the syntax of this assembler macro.
Figure 1. CSQQDEFX macro syntax
CSQQDEFX TYPE=ENTRY|DEFAULT,NAME=qmgr-name,LIT=token
or
CSQQDEFX TYPE=END
Parameters
TYPE=ENTRY|DEFAULT
Specify either TYPE=ENTRY or TYPE=DEFAULT as follows:
TYPE=ENTRY
Specifies that a table entry describing an IBM MQ queue manager available to an IMS application is to be generated. If this is the first entry, the table header is also generated, including a CSQQDEFV CSECT statement.
TYPE=DEFAULT
As for TYPE=ENTRY. The queue manager specified is the default queue manager to be used when MQCONN or MQCONNX specifies a name that is all blanks. There must be only one such entry in the table.
NAME= qmgr-name
Specifies the name of the queue manager, as specified with MQCONN or MQCONNX.
LIT= token
Specifies the name of the language interface token (LIT) that IMS uses to identify the queue manager.
An MQCONN or MQCONNX call associates the name input parameter and the hconn output parameter with the name label and, therefore, the LIT in the CSQQDEFV entry. Further IBM MQ calls passing the hconn parameter use the LIT from the CSQQDEFV entry identified in the MQCONN or MQCONNX call to direct calls to the IBM MQ queue manager defined in the IMS SSM PROCLIB member with that same LIT.