Specifying OTMA transaction expiration time in STCK format
You can specify a transaction expiration time in store clock (STCK) format in the OTMA message header.
When specified in STCK format, the expiration time is the time of day that the transaction expires. If the transaction is either not retrieved by an IMS application program or enqueued for MSC or conversational processing before the expiration time of day, the transaction expires and OTMA discards the transaction.
To specify an expiration time period in STCK format for an OTMA transaction:
- In the state data section of the OTMA header, specify X'01' in the TMAMHIST field.
- In the state data section of the OTMA header, specify the byte offset of the time specification in the TMAMOSXP field. This is the offset of the time specification in the user data section of the OTMA header.
- In the user data section of the OTMA header, code the OTMA client to specify in STCK format the time of day at which the transaction expires.