(Optional) WORKAREA and /tmp cleanup

This customization task does not require assistance, special resources, or special customization tasks.

Legacy ISPF Gateway uses the WORKAREA and /tmp directories to store temporary work files, which are removed before the session is closed. However, temporary output is sometimes left behind, for example, if there is a communication error while processing. Therefore, clear the WORKAREA and /tmp directories from time to time.

z/OS® UNIX provides a shell script, skulker, that deletes files according to the directory they are in and their age. Combined with the z/OS UNIX cron daemon, which runs commands at specified dates and times, you can set up an automated tool that periodically cleans targeted directories. For more information about the skulker script and the cron daemon, see UNIX System Services Command Reference (SA22-7802).

Note: WORKAREA is located in /var/zexpl/, unless you specified a different location when you customized and submitted the FEK.SFEKSAMP(FEKSETUP) job. For more details, see Customization setup.