Controlling the number of spooled files

The number of spooled files on your system should be limited. When a job is completed, spooled files and internal job control information are kept until the spooled files are printed or canceled. The number of jobs on the system and the number of spooled files known to the system increase the amount of time needed to perform IPL and internal searches, and increase the amount of temporary storage required.

Periodically identify spooled files that are no longer needed and delete them. For more information about how to display a list of spooled files, see Display a list of spooled files.

You can control the number of generated job logs with the LOG and LOGOUTPUT parameters on the Create Job Description (CRTJOBD) or Change Job (CHGJOB) commands, or with the QLOGOUTPUT system value. For more information, see Job log pending.

You can specify the maximum number of spooled files generated by a job with the QMAXSPLF system value.

You can also control the number of days that joblogs and other system output stays on the system by making use of the system cleanup function. For more information, see the Change Cleanup command.