Command reference / sys
RCLSPLSTG
Reclaim Spool Storage
Reclaims unused storage for spooled files that have not been used for more than the number of days specified. Spooled files are stored with database file members; deleting a spooled file empties its member for reuse, and this command deletes those emptied members.
Allowed environments: *ALL.
Positional parameters: 2.
Parameters
DAYS
Days
Specifies the interval in days. An emptied member that has not been reused within that interval is deleted. This is a required parameter.
Suggested / special values:
*NONE
*NONE- No interval is used: all unused spool storage is deleted, so creating a new spooled file takes longer.
ASPGRP
ASP group
Specifies the auxiliary storage pool group that contains the unused database members to delete. The default is *.
Suggested / special values:
*SYSBAS, *ALL, *, *CURASPGRP
*SYSBAS- Members in the system ASP (ASP 1) and all defined basic user ASPs (ASPs 2-32) are deleted.
*ALL- Members in the system ASP, the basic user ASPs and all primary and secondary ASPs are deleted.
*- Members in the ASPs of the thread's library name space are deleted.
*CURASPGRP- Members in the primary and secondary ASPs of the thread's ASP group are deleted; an error is issued when the thread has no ASP group (CPFB8E9).
Examples
RCLSPLSTG DAYS(30)
Deletes unused spool storage more than 30 days old in ASP 1 and all basic user ASPs.
RCLSPLSTG DAYS(*NONE) ASPGRP(*ALL)
Deletes all unused spool storage on the system.
Generated from os/cl/catalog/RCLSPLSTG.json and os/cl/help/RCLSPLSTG.json.