This call definition is provided solely to describe the parameters that are passed to the channel auto-definition exit called by the Message Channel Agent. No entry point called MQ_CHANNEL_AUTO_DEF_EXIT is actually provided by the queue manager; the name MQ_CHANNEL_AUTO_DEF_EXIT is of no special significance because the names of the auto-definition exits are provided in the queue manager.
The MQ_CHANNEL_AUTO_DEF_EXIT call definition is part of the WebSphere MQ Security Enabling Interface (SEI), which is one of the WebSphere MQ framework interfaces.
This exit is supported in the following environments: AIX, HP-UX, Linux, z/OS, OS/2, iSeries, Solaris, Windows.
|
The MQ_CHANNEL_AUTO_DEF_EXIT call has the following parameters.
Channel exit parameter block.
This structure contains additional information relating to the invocation of the exit. The exit sets information in this structure to indicate how the MCA should proceed.
Channel definition.
This structure contains parameters set by the administrator to control the behavior of channels which are created automatically. The exit sets information in this structure to modify the default behavior set by the administrator.
The MQCD fields listed below must not be altered by the exit:
If other fields are changed, the value set by the exit must be valid. If the value is not valid, an error message is written to the error log file or displayed on the console (as appropriate to the environment).
exitname (&ChannelExitParms, &ChannelDefinition);
The parameters passed to the exit are declared as follows:
MQCXP ChannelExitParms; /* Channel exit parameter block */ MQCD ChannelDefinition; /* Channel definition */
CALL 'exitname' USING CHANNELEXITPARMS, CHANNELDEFINITION.
The parameters passed to the exit are declared as follows:
** Channel exit parameter block 01 CHANNELEXITPARMS. COPY CMQCXPV. ** Channel definition 01 CHANNELDEFINITION. COPY CMQCDV.
C*..1....:....2....:....3....:....4....:....5....:....6....:....7.. C CALLP exitname(MQCXP : MQCD)
The prototype definition for the call is:
D*..1....:....2....:....3....:....4....:....5....:....6....:....7.. Dexitname PR EXTPROC('exitname') D* Channel exit parameter block D MQCXP 160A D* Channel definition D MQCD 1328A
C*..1....:....2....:....3....:....4....:....5....:....6....:....7.. C CALL 'exitname' C* Channel exit parameter block C PARM MQCXP C* Channel definition C PARM MQCD
Declare the structure parameters as follows:
I*..1....:....2....:....3....:....4....:....5....:....6....:....7.. I* Channel exit parameter block IMQCXP DS I/COPY CMQCXPR I* Channel definition IMQCD DS I/COPY CMQCDR
CALL EXITNAME,(CHANNELEXITPARMS,CHANNELDEFINITION)
The parameters passed to the exit are declared as follows:
CHANNELEXITPARMS CMQCXPA , Channel exit parameter block CHANNELDEFINITION CMQCDA , Channel definition