Specifying OTMA transaction expiration time in seconds
You can specify a transaction expiration time as a length of time in seconds in the OTMA message header.
When specified in seconds, OTMA calculates the expiration time by adding the length of time specified to the time at which OTMA receives the transaction from the z/OS® cross-system coupling facility (XCF).
For example, if the length of time specified is 10 seconds, the transaction expires 10 seconds after OTMA receives it from XCF. If the transaction is neither retrieved by an IMS application program nor enqueued for MSC or conversational processing before 10 seconds pass, the transaction expires and OTMA discards the transaction.
To specify a length of time for transaction expiration, code the following fields in the state data section of the OTMA header:
- In the TMAMHIST field, specify X'02'.
- In the TMAMOSXP field, specify the length of time in seconds that OTMA uses to calculate the expiration time. OTMA calculates the expiration time by adding this value to the time of day that OTMA receives the transaction from XCF.