Facility state cleanup processing — TSQ

If you are running Link3270 Adapter services of the single connector, nonpersistent type, facility state cleanup processing is run against temporary storage queues (TSQ) and is handled by the CICS® Service Flow Runtime Facility State Cleanup (TSQ) program (DFHMALSC).

DFHMALSC browses Link3270 facility state temporary storage (TS) queues and initiates the processing to delete the expired CICS Service Flow Runtime Link3270 facility session state data and invokes the processing to deallocate the associated Link3270 bridge facilities that CICS has not automatically deleted due to the facility being inactive for the keeptime interval.
Note: See the CICS External Interfaces Guide for more information on the keeptime interval processing by CICS.
Processing is as follows:
  1. DFHMALSC browses Link3270 facility state temporary storage (TS) queues
    CICS Service Flow Runtime facility state TS queue names are 16 bytes long and of the following format:
    TSQ name = "DFHMA"  +  facility token (8 byte hex value) +  x'FFFFFF' (3 byte hex value = HIGH-VALUES).
  2. If the following conditions are true, DFHMALSC calls the CICS Service Flow Runtime Link3270 Facility Deallocate Cleanup program (DFHMALFD):
    • A matching TS queue is found and not in use.

      A check is made to see if the CICS Service Flow Runtime facility session state expiration time has been exceeded.

    • The facility session state expiration time has been exceeded

      A check is made to see if the Link3270 bridge facility exists and is not in a 'RELEASED' state.

  3. If the Link3270 bridge facility has been deleted, the TS queue containing CICS Service Flow Runtime facility session state data is deleted, and the browse of the TS queues is resumed. Once the 'END' condition is encountered on the browse, this cleanup task is scheduled to be started at the requested SI interval. See Configuring the autostart procedure for the Link3270 facility state cleanup programs for information on setting the SI interval.
  4. The CICS Service Flow Runtime Link3270 Facility Deallocate Cleanup program de-allocates existing bridge facilities and deletes the associated CICS Service Flow Runtime facility session state data whether that data is stored in TS queue or VSAM data set.