Additional external functions provided in the REXX/CICS environment are discussed in this section.
returns length bytes from the user's memory starting at address. The length is in decimal; the default is 1 byte. The address is a hexadecimal number. The high-order bit of address is ignored.
If you specify data, after the old value has been retrieved storage starting at address is overwritten with data (the length argument has no effect on this).
Warning: The STORAGE function, which allows a REXX user to display and/or modify the virtual storage of the CICS region, can only be successfully invoked from an authorized exec or by an authorized user.
Examples:
/* Note that the following results vary from system to system. */
STORAGE(200000,32)
/* This returns 32 bytes of storage at hex address 200000 as a result. */
>>-SYSSBA--(--row--,--col--)-----------------------------------><
SYSSBA converts screen row,col to a set buffer address (SBA).
x = SYSSBA(10,20)
This example returns a three byte set buffer address for screen row 10, column 20 into REXX variable x.