Previous Topic: #GETSCR ExampleNext Topic: #GETSTG Syntax


#GETSTG—acquires variable storage from a storage pool

The #GETSTG statement acquires variable storage from a storage pool or obtains the address of a previously acquired storage area. Once acquired, the storage is available for use:

Storage availability is governed by #GETSTG parameter specifications. The value stored in a user-defined register assigned by the ADDR parameter contains the address of acquired storage.