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


v_setattro

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

Read syntax diagramSkip visual syntax diagram
>>-v_setattro--vntoken--opentoken--attribute_list--------------><

Function

v_setattro invokes the v_setattr callable service to set the attributes that are associated with the file represented by opentoken. You can change the mode, owner, access time, modification time, change time, reference time, audit flags, general attribute flags, and file size.

Parameters

vntoken
A variable name that contains the vnode token for the file for which the attributes are to be set.
opentoken
A variable name that contains the open token as returned from the v_open.
attribute_list
A list of attributes to be set and their values. The attributes are expressed either as numeric values or as the predefined variables beginning with ST_, followed by arguments for that attribute. For the predefined variables beginning with ST_, see chattr; for the numeric values, see REXX predefined variables.

Example

To truncate a file represented by vntok with a v_open represented by otok:
"v_setattro vntok otok" st_size 0

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014