getStorage
Obtains a block of storage of the requested size and returns a pointer to it. The storage is not released automatically at the end of task; it is only released when a freeStorage operation is performed.
void* getStorage (unsigned long size,
char initByte = -1,
unsigned long storageOpts = 0)
char initByte = -1,
unsigned long storageOpts = 0)
- size
- The amount of storage being requested, in bytes
- initByte
- The initial setting of all bytes in the allocated storage
- storageOpts
- An enumeration, defined in IccTask class, that affects the way that CICS allocates storage.
Conditions
LENGERR, NOSTG