The following code obtains information about file system
TESTLIB.FILESYS1. For the callable service, see
w_statvfs (BPX1STF, BPX4STF) — Get the file system status. For the data structure, see
BPXYSSTF — Map response structure for file system status. AMODE 31 callers
use
BPX1STF (w_statvfs) example.
MVC FSNAME(44),=CL44'TESTLIB.FILESYS1'
SPACE ,
CALL BPX4STF, Get file system status +
(FSNAME, Input: File system name (44 char) +
SSTFL, Input: Length of BPXYSSTF +
SSTF, Buffer, BPXYSSTF +
RETVAL, Return value: -1 or length status +
RETCODE, Return code +
RSNCODE), Reason code +
MF=(E,PLIST) ----------------------------------