Using STORAGE built-in functions

The STORAGE and CURRENTSTORAGE built-in functions return the length of an item to your PL/I routine. This is useful in CICS®, where functions often require the length of an argument as well as its address. In particular, you can use these functions to get lengths of PL/I aggregates without having to count or compute such lengths or specify length fields in the CICS commands.

For more information about the STORAGE and CURRENTSTORAGE built-in functions, see the IBM Enterprise PL/I for z/OS library .