Storage keys for selectable key subpools

Table 1 provides detailed information about the subpools with selectable storage keys (as listed in Table 1).

Table 1. Storage keys for selectable key subpools
Subpool Macros and parameters Storage key
129-132
  • GETMAIN with LC, LU, VC, VU, EC, EU, or R; BRANCH not specified
  • FREEMAIN with LC, LU, L, VC, VU, V, EC, EU, E, or R; BRANCH not specified.
  • STORAGE with OBTAIN or RELEASE; CALLRKY=YES is specified
The storage key equals the caller's PSW key. (The KEY parameter is not allowed.)
  • GETMAIN with LC, LU, VC, VU, EC, EU, or R; BRANCH=YES specified
  • FREEMAIN with LC, LU, L, VC, VU, V, EC, EU, E, or R; BRANCH=YES specified
The storage key is 0. (The KEY parameter is not allowed.)
  • GETMAIN with RC, RU, VRC, VRU; BRANCH not specified
  • FREEMAIN with RC, RU; BRANCH not specified
  • CPOOL with BUILD
The storage key is the key the caller specifies on the KEY parameter. If KEY is not specified, the default equals the caller's PSW key.
  • GETMAIN with RC, RU, VRC, VRU; BRANCH=YES specified
  • FREEMAIN with RC, RU; BRANCH=YES specified
  • STORAGE with OBTAIN or RELEASE; CALLRKY=YES is omitted, or CALLRKY=NO is specified
The storage key is the key the caller specifies on the KEY parameter. If KEY is not specified, the default is zero.
227-231, 241, 244, 249
  • All GETMAIN requests with BRANCH not specified
  • All FREEMAIN requests with BRANCH not specified
  • STORAGE with OBTAIN or RELEASE; CALLRKY=YES specified
The storage key equals the caller's PSW key. (For RC, RU, VRC, and VRU, the KEY parameter is ignored. For other GETMAIN and FREEMAIN requests, the KEY parameter is not allowed.)
  • GETMAIN with LC, LU, VC, VU, EC, EU, or R; BRANCH=YES specified
  • FREEMAIN with LC, LU, L, VC, VU, V, EC, EU, E, or R; BRANCH=YES specified
The storage key is 0 (The KEY parameter is not allowed.)
  • GETMAIN with RC, RU, VRC, VRU; BRANCH specified
    Note: BRANCH=(YES,GLOBAL) is not valid for subpools 229, 230, 244, and 249.
  • FREEMAIN with RC, RU; BRANCH specified
    Note: BRANCH=(YES,GLOBAL) is not valid for subpools 229, 230, 244, and 249.
  • STORAGE with OBTAIN or RELEASE; CALLRKY=YES omitted, or CALLRKY=NO specified
The storage key is the key the caller specifies on the KEY parameter. If KEY is not specified, the default is zero.
  • CPOOL with BUILD
The storage key is the key the caller specifies on the KEY parameter. If KEY is not specified, the default equals the caller's PSW key.