TransId

TransId() as String

Returns the 4-character name of the current CICS® transaction. Note that if a RETURN IMMEDIATE is run from the current transaction, TransId does not provide the name of the new transaction; it still contains the name of the first transaction.