The INQUIRE_MXT call

The INQUIRE_MXT function is provided on the DFHXMSRX macro call. Its purpose is to provide current value of the MXT parameter.

INQUIRE_MXT

DFHXMSRX  [CALL,]
       [CLEAR,]
       [IN,
       FUNCTION(INQUIRE_MXT),]
       [OUT,
       CURRENT_ACTIVE(name4 | (Rn) ),
       MXT_LIMIT(name4 | (Rn)),
       MXT_QUEUED(name4 | (Rn) ),
       TCLASS_QUEUED(name4 | (Rn) ),
       RESPONSE (name1 | *),
       REASON (name1 | *)]

This command is threadsafe.

CURRENT_ACTIVE(name4 | (Rn))
returns the current number of all active user tasks.
name4
The name of a 4-byte location that is to receive the current number of active user tasks, expressed as a binary value.
(Rn)
A register to receive the current number of active user tasks, expressed as a binary value.
MXT_LIMIT(name4 | (Rn))
returns the current number of the MXT parameter.
name4
The name of a 4-byte location that is to receive the maximum number of all user tasks currently allowed, expressed as a binary value.
(Rn)
A register to receive the maximum number of all tasks currently allowed, expressed as a binary value.
MXT_QUEUED(name4 | (Rn))
returns the current number of user transactions that are queued as a result of the maximum tasks (MXT) being reached.
name4
The name of a 4-byte location that is to receive the current number of queued user tasks, expressed as a binary value.
(Rn)
A register to receive the current number of queued user tasks, expressed as a binary value.
TCLASS_QUEUED(name4 | (Rn))
returns the current number of all transactions that are queued for transaction class membership.
name4
The name of a 4-byte location that is to receive the current number of queued transaction class members, expressed as a binary value.
(Rn)
A register to receive the current number of queued transaction class members, expressed as a binary value.

RESPONSE and REASON values for INQUIRE_MXT

RESPONSE REASON
OK None
DISASTER LOGIC_ERROR
ABEND
LOOP
INVALID INVALID_FUNCTION
KERNERROR None
PURGED None