CLRPOOL (Clear Pool)
CLRPOOL Command syntax diagram
Purpose
The Clear Pool (CLRPOOL) command clears all objects from a main storage pool. This allows the Set Object Access (SETOBJACC) command to report on storage usage within a pool.
Required Parameters
- POOL
- Specifies the pool to be cleared of all objects.
*JOB: The pool associated with the job is cleared.
*SHRPOOLn: A general-purpose shared pool is cleared. Valid values range from 1 through 10.
Element 1: Subsystem
subsystem: Specify a subsystem name.
Element 2: Pool Identifier
pool-identifier: Specify a subsystem pool identifier.
Example for CLRPOOL
CLRPOOL POOL(*JOB)This command clears the pool associated with the job in which the command was processed.
Error messages for CLRPOOL
*ESCAPE Messages
- CPF1858
- The specified pool does not exist.
- CPF1859
- Use of an access path was requested but none exists.