UNIX-DIRECTORY

File 97
Op-Sys z/OS
Statement FIND
Task This view makes it possible to display directory information related to a z/OS UNIX file system.

Fields (z/OS only)

Dictionary Field Name F/L Mu DE Remarks
NODE N5.0   D D Node ID (DBID).
ERROR-CODE N3.0      
ERROR-TEXT A58      
NODE-NAME A16   D  
SYSTEM-MESSAGE-CODE A10      
PATH A54   D Fully qualified path name.
FILE A54   D File name.
TYPE A1   D File type D = directory 3 standard file, see also below.
ACCESS-USER A3   D Access rights of the user.
ACCESS-GROUP A3   D Access rights of the group.
ACCESS-OTHER A3   D Access rights for someone neither being the user nor a member of the group.
OWNER A8   D File owner.
OWNER-GROUP A8   D Group of the file owner.
FILE-SIZE N8.0   D Size in bytes.

Relevant Error Codes

Code Text z/OS
530 Access denied by Security Facility. X
568 File not found. X
893 Getmain failed. X
899 I/O error on file. X
993 Cannot open file. X

Field Descriptions

Field Name Type/Length Operating System
NODE (N5.0) z/OS

D Node ID (DBID).

Field Name Type/Length Operating System
ERROR-CODE (N3.0) z/OS

Message code.

Field Name Type/Length Operating System
ERROR-TEXT (A58) z/OS

Text describing error.

Field Name Type/Length Operating System
NODE-NAME (A16) z/OS

LPAR where node is running.

Field Name Type/Length Operating System
SYSTEM-MESSAGE-CODE (A10) z/OS

Code of system message.

Field Name Type/Length Operating System
PATH (A54) z/OS

Path of directory to be read.

Field Name Type/Length Operating System
FILE (A253) z/OS

Name of file or directory.

Field Name Type/Length Operating System
TYPE (A1) z/OS

Directory or file.

Values Explanation
D  Directory.
3  Standard file.
Field Name Type/Length Operating System
ACCESS-USER (A3) z/OS

Access rights of user.

Values Explanation
R  Read
W  Write
X Execute
Field Name Type/Length Operating System
ACCESS-GROUP (A3) z/OS

Access rights of group.

Values Explanation
R  Read
W  Write
X Execute
Field Name Type/Length Operating System
ACCESS-OTHER (A3) z/OS

Access rights of others.

Values Explanation
R  Read
W  Write
X Execute
Field Name Type/Length Operating System
OWNER (N8) z/OS

Owner of file/directory.

Field Name Type/Length Operating System
OWNER-GROUP (N8) z/OS

Group of owner.

Field Name Type/Length Operating System
FILE-SIZE (N8.0) z/OS

Size of file in bytes.