This function sets and returns the maximum length of a REXX variable string. Typically, REXX variable strings have a maximum allowed length of 4096 bytes. Use VARSIZE() to specify a larger value. This specification applies only to the IMOD in which you set it. The value is not propagated across the CALL/RETURN interface.
Important! Be careful when specifying a larger value. Error conditions such as unplanned loops can temporarily deplete storage.
cursize = VARSIZE([value])
Parameters
Current or new size limit (or error text).
Maximum length to be permitted for a REXX variable string.
Default: The current value is returned and left unchanged.
ARG 1 MISSING OR INVALID
Example
varsize() == '32767' /* Current maximum variable length */
Copyright © 2014 CA Technologies.
All rights reserved.
|
|