IccTask getStorage

Obtains a block of storage of the requested size. The storage is released automatically at the end of task, or when the freeStorage operation is performed. See also getStorage on page IccSystem getStorage in IccSystemclass.

void* getStorage (unsigned long size, char initByte = -1, unsigned short 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 this class, that affects the way that CICS® allocates storage.

Conditions

LENGERR, NOSTG