_lspace() function
The _lspace() function returns the space information for a volume. Use this function to precede an IDCAMS DEFINE operation in the XSUTALLO automation control point.
Syntax
x = _lspace(<volser>)
The volser parameter contains a series of numbered strings that represent available volumes for which you want space information.
Values returned
The _lspace() function returns either the value ERROR (indicating that the volume you selected is offline or otherwise unavailable), or a string of numbers that indicate the following values:
- Total number of available cylinders
- Total number of available tracks in addition to the number of available cylinders
- Total number of contiguous cylinders
- Total number of contiguous tracks in addition to the number of contiguous cylinders
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*