Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OBJ | Object | Qualified object name | Required, Positional 1 |
Qualifier 1: Object | Name | ||
Qualifier 2: Library | Name, *LIBL, *USRLIBL, *CURLIB, *ALL, *ALLUSR | ||
OBJTYPE | Object type | *FILE, *PGM | Optional, Positional 2 |
POOL | Storage pool | Element list | Optional, Positional 3 |
Element 1: Shared pool or subsystem name | Name, *JOB, *BASE, *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, *PURGE | ||
Element 2: Pool identifier | 1-10 | ||
MBR | Member | Name, *FIRST | Optional |
MBRDATA | Member data | *BOTH, *ACCPTH, *DATA | Optional |
Top |
Specifies the qualified name of the object to be brought into or deleted from main storage.
The name of the specified object can be qualified by one of the following library values:
#CGULIB #DSULIB #SEULIB #COBLIB #RPGLIB #DFULIB #SDALIB
Although the following Qxxx libraries are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are considered user libraries and are also searched:
QDSNX QRCLxxxxx QUSRDIRDB QUSRVI QGPL QSRVAGT QUSRIJS QUSRVxRxMx QGPL38 QSYS2 QUSRINFSKR QMGTC QSYS2xxxxx QUSRNOTES QMGTC2 QS36F QUSROND QMPGDATA QUSER38 QUSRPOSGS QMQMDATA QUSRADSM QUSRPOSSA QMQMPROC QUSRBRM QUSRPYMSVR QPFRDATA QUSRDIRCF QUSRRDARS QRCL QUSRDIRCL QUSRSYS
The possible values are:
Top |
Specifies the type of object to be brought into or deleted from main storage.
The possible values are:
Top |
Specifies whether the object is brought into or purged from main storage.
The possible values are:
Top |
Specifies the database file member to be brought into or purged from main storage.
The possible values are:
Top |
Specifies the member data to be brought into or purged from main storage.
The possible values are:
Top |
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.
Top |
*ESCAPE Messages
Top |