READ-UNIX-FILE

File 96
Op-Sys z/OS
Statement FIND
Task This view makes it possible to read data from files in the 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 LPAR where node is running.
SYSTEM-MESSAGE-CODE A10      
PATH A128   D Fully qualified path name.
RECORD A253   D Record of the file.
RECORD-LENGTH N3.0   D Required.

Relevant Error Codes

Code Text z/OS
530 Access denied by Security Facility.
553 I/O error on directory. X
568 File not found- X
993 Cannot open file. X
899 I/O error on 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 (A128) z/OS

Path of file to be read.

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

Record to be read.

Field Name Type/Length Operating System
RECORD-LENGTH (N3.0) z/OS

Length of record. Required.