Facility state cleanup processing — VSAM

The CICS® Service Flow Runtime Facility Sate Cleanup (VSAM) program (DFHMALFC) is used to manage facility state cleanup processing when you are running Link3270 Adapter services of the following types:

DFHMALFC browses the Link3270 State file 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. See the CICS External Interfaces Guide for more information on the keeptime interval processing by CICS.

The Link3270 State file used by DFHMALFC can vary depending on the build time tool used to generate the sequence flows. DFHMALFC uses the CICS Service Flow Runtime Link3270 State file (DFHMALSF) when supporting flows that were modeled and generated in version 1.1.3 of MQSI Agent for CICS . If the sequence flow was modeled and generated using Service Flow Modeler, DFHMALFC browses the CICS Service Flow Runtime Link3270 file (DFHMAL2F). DFHMALSF provides upward compatibility for customers who choose not to regenerate their Link3270 flows. However, the recommendation is that customers should regenerate their Link3270 flows.

Processing is as follows:
  1. DFHMALFC browses Link3270 Facility State file.
  2. If the following conditions are true, DFHMALFC calls the CICS Service Flow Runtime Link3270 Facility Deallocate Cleanup program (DFHMALFD):
    • A matching record 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 record containing CICS Service Flow Runtime facility session state data is deleted, and the browse of the Link3270 State file 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 temporary storage or a VSAM data set.