

Data Manipulation Language Statements › #GETSTG—acquires variable storage from a storage pool › #GETSTG Syntax
#GETSTG Syntax
►►─┬─────────┬────────────────────────────────────────────────────────────────►
└─ label ─┘
►─── #GETSTG TYPE= ( ─┬─ USER ───┬─ , ─┬─ LONG ──┬──┬─────────┬─ ) ──────────►
└─ SHARED ─┘ └─ SHORT ─┘ └─ ,KEEP ─┘
►─┬─────────────────────────────────────────────┬────────────────────────────►
└─ ,PLIST= ─┬─ SYSPLIST ◄ ───────────────────┬┘
└─ parameter-value-list-pointer ─┘
►─┬───────────────────────┬──────────────────────────────────────────────────►
└─ ,LEN=storage-length ─┘
►─┬───────────────────────┬──────────────────────────────────────────────────►
└─ ,INIT=initial-value ─┘
►─┬───────────────────────────────┬──────────────────────────────────────────►
└─ ,ADDR= ─┬─ (1) ◄ ───────────┬┘
└─ storage-address ─┘
►─┬─────────────────────┬────────────────────────────────────────────────────►
└─ ,STGID=storage-id ─┘
►─┬─────────────────────┬────────────────────────────────────────────────────►
└─ ,LOC= ─┬─ ANY ◄ ──┬┘
├─ BELOW ──┤
└─ XA ─────┘
►─┬───────────────────────────────┬──────────────────────────────────────────►
└─ ,COND= ─┬── NO ◄ ───────────┬┘
├── ALL ────────────┤
│ ┌─── , ─────┐ │
└─(─▼─┬─ NOST ─┬┴─)─┘
├─ INVP ─┤
├─ DEAD ─┤
└─ XAST ─┘
►─┬───────────────────────────────────────┬──────────────────────────────────►
└─ ,NOSTXIT=insufficient-storage-label ─┘
►─┬─────────────────────────────────────────┬────────────────────────────────►
└─ ,INVPXIT=invalid-parameter-list-label ─┘
►─┬───────────────────────────┬──────────────────────────────────────────────►
└─ ,DEADXIT=deadlock-label ─┘
►─┬──────────────────────────────────────────────┬───────────────────────────►
└─ ,XASTXIT=extended-addressing-storage-label ─┘
►─┬──────────────────────────────┬───────────────────────────────────────────►
└─ ,NWSTXIT=new-storage-label ─┘
►─┬──────────────────────┬───────────────────────────────────────────────────►◄
└─ ,ERROR=error-label ─┘
Copyright © 2014 CA.
All rights reserved.
 
|
|