Clear Pool (CLRPOOL)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

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.

Top

Parameters

Keyword Description Choices Notes
POOL Storage pool Element list Optional, Positional 1
Element 1: Shared pool or subsystem name Name, *JOB, *SHRPOOL1, *SHRPOOL2, *SHRPOOL3, *SHRPOOL4, *SHRPOOL5, *SHRPOOL6, *SHRPOOL7, *SHRPOOL8, *SHRPOOL9, *SHRPOOL10, *SHRPOOL11, *SHRPOOL12, *SHRPOOL13, *SHRPOOL14, *SHRPOOL15, *SHRPOOL16, *SHRPOOL17, *SHRPOOL18, *SHRPOOL19, *SHRPOOL20, *SHRPOOL21, *SHRPOOL22, *SHRPOOL23, *SHRPOOL24, *SHRPOOL25, *SHRPOOL26, *SHRPOOL27, *SHRPOOL28, *SHRPOOL29, *SHRPOOL30, *SHRPOOL31, *SHRPOOL32, *SHRPOOL33, *SHRPOOL34, *SHRPOOL35, *SHRPOOL36, *SHRPOOL37, *SHRPOOL38, *SHRPOOL39, *SHRPOOL40, *SHRPOOL41, *SHRPOOL42, *SHRPOOL43, *SHRPOOL44, *SHRPOOL45, *SHRPOOL46, *SHRPOOL47, *SHRPOOL48, *SHRPOOL49, *SHRPOOL50, *SHRPOOL51, *SHRPOOL52, *SHRPOOL53, *SHRPOOL54, *SHRPOOL55, *SHRPOOL56, *SHRPOOL57, *SHRPOOL58, *SHRPOOL59, *SHRPOOL60
Element 2: Pool identifier 1-10
Top

Storage pool (POOL)

Specifies the pool to be cleared of all objects.

The possible values are:

*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.
Top

Examples

CLRPOOL   POOL(*JOB)

This command clears the pool associated with the job in which the command was processed.

Top

Error messages

*ESCAPE Messages

CPF1858
The specified pool does not exist.
CPF1859
Use of an access path was requested but none exists.
Top