S7MATRUE

This component releases Work Threads upon transaction completion (normal or abnormal).

Only two types of entries to this module require work (all others are “RETURN TO CALLER”), as follows:
  • S7M3PASS passes the Temporary Storage Id and control block (ACMEM) location to S7MATRUE, which then stores it for transaction recovery.
  • There is a CICS call at transaction end, at which time S7MATRUE then checks for the Temporary Storage.

If TEMPORAY STORAGE does not exist, S7MATRUE returns to CICS. If a Temporary Storage record is found, S7MATRUE checks if there are open EMS connections. If so, a CICS LINK is issued for S7M3CLUP to clean up the open connections and handle the freeing up of the CEET Work Thread. If S7MATRUE finds there are no open connections or other issues, S7MATRUE modifies the control blocks and deletes the Temporary Storage.

The TRUE is automatically activated when S7M3PASS first starts the CEET by issuing the following statement:

EXEC CICS ENABLE PROGRAM(‘S7MATRUE’) TASKSTART START TALENGTH(64)

This causes S7MATRUE to be called at each transaction end.