CL Command Reference - SETOBJACC
CL Command List > SETOBJACC Reference
Description:
The Set Object Access (SETOBJACC) command temporarily changes the speed of access to an object by bringing the object into a main storage pool or purging it from all main storage pools. An object can be kept main storage resident by selecting a pool for the object that has available space and does not have jobs associated with it. Repeated use of the command can cause a set of objects to be resident in a main storage pool.
Restrictions:
. You must have object operational (*OBJOPR) authority to all objects that are brought into a main storage pool or purged from all main storage pools.
Examples:
SETOBJACC OBJ(OBJA) OBJTYPE(*PGM) POOL(*JOB)
This command brings a program named OBJA to the pool associated with the job in which the command is run.