QUERY SEARCH
Authorization
General User
Purpose
Use the QUERY SEARCH command to display the search order of accessed disks and Shared File System (SFS) Directories.
Responses
label vdev mode stat dirname
. . . . .
. . . . .
. . . . .
Note: If the search order includes any OS or DOS disks, the response will also indicate whether the
disk is OS or DOS.
Where:
- label
- is either the label assigned to the disk when it was formatted or the volume label if it is an OS or DOS disk. If it is an SFS directory, a dash is displayed in the label column.
- vdev
- is either the virtual device number for a disk or
DIR
for an SFS directory. If the directory has the directory control (DIRCONTROL) attribute, ‘DIRC’ is displayed instead of ‘DIR’. - mode
- is the file mode letter assigned to the disk or SFS directory when it was accessed. Mode may also be indicated as an extension of a disk or directory, such as C/A. However, when you use QUERY SEARCH (different from QUERY DISK), you will not see any extension indicated if it is an extension of itself. For example, for C/C, you will see only C.
- stat
- indicates whether the status of the disk or SFS directory is read/write (R/W) or read/only (R/O).
- dirname
- is the complete name of an SFS directory. This column is left blank for disks. In a full-screen CMS environment if the directory name is too long to display on the line, you can scroll to the right to see the remainder of the directory name.
Options
For more information on the Options, Usage Notes, and Error Messages that apply to all operands of the QUERY command, see QUERY.
