The $SRV_PDS_LIST routine returns a listing of all members contained in a PDS. If requested, the user-data field is returned as ISPF statistics.
Syntax
Use this syntax:
CALL $SRV_PDS_LIST ddname [ISPF]
Parameters
The $SRV_PDS_LIST service routine takes these parameters:
DDname to allow access to the PDS.
If specified, the returned user-data field is formatted as ISPF statistics.
Returned Data
Successful completion is indicated by the RC special variable being set to 0 and a null string returned as the result. Errors are indicated by a non-zero value in RC and an error message returned as the result.
Each PDS directory entry is returned on the stack. The first character of each record is a delimiter used to parse the individual fields. The order of the fields returned is as follows:
If ISPF was specified as an option and the user-data appears to be valid ISPF statistics, the user data field is converted to the following blank-delimited fields:
Note: ISPF began storing change seconds with Release 3.3. Prior releases only stored hours and minutes.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |