z/OS UNIX System Services File System Interface Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


BPX1VGA, BPX4VGA (v_getattr)

z/OS UNIX System Services File System Interface Reference
SA23-2285-00

The following code obtains the status of a file whose previously looked-up vnode token is in VNODETOK. For the callable service, see v_getattr (BPX1VGA, BPX4VGA) — Get the attributes of a file. For the data structures, see BPXYATTR — Map file attributes for v_ system calls and BPXYOSS — Map operating system specific information.
         MVC   OSSSTOR,OSS           Initialize BPXYOSS area
         SPACE ,
         CALL  BPX1VGA,              Obtain file status                +
               (VNODETOK,            Input: Vnode token                +
               OSSSTOR,              Input/output: BPXYOSS             +
               =A(ATTR#LENGTH),      Input: BPXYATTR length            +
               ATTRSTOR,             Output: BPXYATTR                  +
               RETVAL,               Return value: 0 or -1             +
               RETCODE,              Return code                       +
               RSNCODE),             Reason code                       +
               VL,MF=(E,PLIST)       ----------------------------------

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014