Previous Topic: YCHKIFSOBJ (Check IFS Object)Next Topic: YCHKLIBLST (Check Library List)


Parameters

Parameter

Definition

Value and Description

OBJ

Specify the full path name of the object in the Integrated File System to be checked. An asterisk signifying a wildcard character is not allowed within either a directory or an object name.

This is a required parameter

Valid examples are as follows:

/webopt/adv2e.gif

/QDLS/Y2WEBDOC/H0001043.HTM

/qsys.LIB/y2syveng.LIB/yvallstrfp.FILE/yvallstrfp.MBR

/QOpenSys/QIBM/UserData/HTTPSVR/ProxyCache

ACCESS

Specifies the type of checking to be performed on the object specified in the OBJ parameter.

  • *EXIST: Only the object's existence is checked.
  • *R: The command checks whether the user running this command has read authority to the object. A user with *R authority can view the contents of the object. *R authority provides object operational authority and data read authority.
  • *W: The command checks whether the user running this command has write authority to the object. A user with *W authority can change the contents of the object. *W authority provides object operational authority and data add, update, and delete authorities.
  • *X: The command checks whether the user running this command has execute authority to the object. A user with *X authority can run a program or search a library or directory. *X authority provides object operational authority and data execute authority.
  • *RW: The command checks whether the user running this command has read and write authority to the object. A user with *RW authority can view the contents of the object and change the contents of the object. *RW authority provides object operational authority and data read, add, update, and delete authorities.
  • *RX: The command checks whether the user running this command has read and execute authority to the object. A user with *RX authority can perform basic operations on the object, such as run a program or display the contents of a file. The user is prevented from changing the object. *RX authority provides object operational authority and read and execute authorities.
  • *WX: The command checks whether the user running this command has write and execute authority to the object. A user with *WX authority can change the contents of the object and run a program or search a library or directory. *WX authority provides object operational authority and data add, update, delete, and execute authorities.
  • *RWX: The command checks whether the user running this command has read, write and execute authority to the object. A user with *RWX authority can perform all operations on the object except those limited to the owner or controlled by object existence, object management, object alter, and object reference authority. The user can change the object and perform basic functions on the object. *RWX authority provides object operational authority and all the data authorities.