The following code obtains information about the file
system containing the file identified by FILEDESC. For the
callable service, see
fstatvfs (BPX1FTV, BPX4FTV) — Get the file system status.
For the data structure, see
BPXYSSTF — Map response structure for file system status. AMODE 31 callers
use
BPX1FTV (fstatvfs) example.
MVC FILEDESC,.. File descriptor from open
SPACE ,
CALL BPX4FTV, Get file system status +
(FILEDESC, Input: File descriptor +
SSTFL, Input: Length of BPXYSSTF +
SSTF, Buffer, BPXYSSTF +
RETVAL, Return value: -1 or length status +
RETCODE, Return code +
RSNCODE), Reason code +
MF=(E,PLIST) ----------------------------------