z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


v_fstatfs

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-v_fstatfs--vntoken--stem------------------------------------><

Function

v_fstatfs invokes the v_fstatfs callable service to return file system status for the file system containing the file or directory represented by the specified vntoken.

Parameters

vntoken
A variable name that contains the vnode token for a file or directory in the file system whose status is to be checked.
stem
The name of a stem variable used to return the status information. Upon return, stem.0 contains the number of variables that are returned. To obtain the desired status information, you can use a numeric value or the predefined variables beginning with STFS_ used to derive the numeric value. For example, stem.stfs_avail accesses the number of blocks available in the file system. See statfs for a list of the predefined variables, or REXX predefined variables for the numeric values.

Example

In the following example, assume that vnod was assigned a value earlier in the exec:
" v_fstatfs vnod st."

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014