Facility state cleanup processing — VSAM
The Facility Sate Cleanup (VSAM) program (DFHMALFC) manages facility state cleanup processing when you are running simple, persistent and complex Link3270 service flows.
DFHMALFC browses the Link3270 state file and invokes the processing to delete the expired Link3270 facility session state data. It invokes the processing to deallocate the associated Link3270 bridge facilities that CICS has not automatically deleted because the facility was inactive for the keeptime interval. See Developing for external interfaces for more information on the keeptime interval processing by CICS.
The Link3270 state file used by DFHMALFC is called DFHMAL2F.
- DFHMALFC browses the Link3270 facility state file.
- If the following conditions are true, DFHMALFC calls the cleanup program,
DFHMALFD:
- A matching record is found and not in use.
The facility session state expiration time is checked to see if it has been exceeded.
- The facility session state expiration time has been exceeded
The existence of the Link3270 bridge facility is checked and is not in a RELEASED state.
- A matching record is found and not in use.
- If the Link3270 bridge facility has been deleted, the record containing facility session state data is deleted and the browse of the Link3270 State file is resumed. When 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.
- The cleanup program deallocates existing bridge facilities and deletes the associated facility session state data whether that data is stored in temporary storage or a VSAM data set.