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


BPX1VGT, BPX4VGT (v_get)

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

The following code obtains a vnode token for the file or directory specified via the input FID, residing within the mounted file system represented by the input VFS token. Previously, the FID might have been obtained from an attribute structure returned by v_lookup, and the VFS token via v_rpn. For the callable service, see v_get (BPX1VGT, BPX4VGT) — Convert an FID to a vnode Token. For the data structure, see BPXYOSS — Map operating system specific information.
         MVC   OSSSTOR,OSS           Initialize BPXYOSS area
         SPACE ,
         CALL  BPX1VGT,              Obtain a Vnode token              +
               (VFSTOK,              Input: VFS token                  +
               OSSSTOR,              Input/output: BPXYOSS             +
               FID,                  Input: File identifier            +
               VNODETOK,             Output: Vnode token for file      +
               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