The INQUIRE_DTRTRAN call

INQUIRE_DTRTRAN returns the name of the dynamic transaction routing (DTR) transaction definition.

The DTR transaction definition provides common attributes for transactions that are to be dynamically routed and which do not have a specific transaction definition. It is specified on the DTRTRAN system initialization parameter; the CICS®-supplied default definition is CRTX.

INQUIRE_DTRTRAN

DFHXMSRX  [CALL,]
       [CLEAR,]
       [IN,
       FUNCTION(INQUIRE_DTRTRAN),]
       [OUT,
       DTRTRAN(name4),
       RESPONSE (name1 | *),
       REASON (name1 | *)]

This command is threadsafe.

DTRTRAN(name4)
returns the name of the DTR transaction definition to used for routing transactions that are not defined by an explicit transaction resource definition.
name4
The name of a 4-byte location that is to receive the name of the DTR transaction definition. If 'NO' was specified on the DTRTRAN system initialization parameter, 'NO' will be placed in this field.

RESPONSE and REASON values for INQUIRE_DTRTRAN

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