ALLOCATIONS

File 22
Op-Sys z/OS
Statement FIND
Task Reads information relating to files allocated to the specified job via DD statements. Files allocated dynamically are also returned.

 


Common Fields for all Operating Systems

Dictionary Field Name F/L Mu DE Remarks
ERROR-CODE N3      
ERROR-TEXT A58      
NODE N5   D  
NODE-NAME A16   D  
DDNAME A8   D  
VOLSER A6   D  
DSNAME A54   D  
CLASS A8   D  
ACCESS A8   D  
LRECL N5   D  
BLKSIZE N5   D  
DSORG A4   D  
JOB-NAME A8   D Required.
STEP-NAME A8      
PROC-NAME A8      
UNIT A3   D  
MEMBER A10   D  
IO-COUNT N11   D  
RECFM A5   D  
TCB-ADDRESS B4   D  

Additional Fields Supported for z/OS

Dictionary Field Name F/L Mu DE Remarks
PATH-NAME A253   D  

Relevant Error Codes

Code Text z/OS
805 Invalid TCB address.

X

Field Descriptions

Field Name Format/Length Operating System
ACCESS (A8)  

Dataset is currently open as:

Value Explanation
blank Not open.
INOUT Open for input, then for output.
INPUT Open for input only.
OUTIN Open for output, then for input.
OUTPUT Open for input only.
RDBACK Read backwards.
UPDATE Open for update.
VSAM VSAM dataset.

 

Field Name Format/Length Operating System
BLKSIZE (N5)  
Field Name Format/Length Operating System
CLASS (A8)  

Dataset classification. Possible options:

Option Explanation
DUMMY  Dummy dataset.
SYSIN  JES SYSIN dataset.
SYSOUT  JES SYSOUT dataset.

 

Field Name Format/Length Operating System
DDNAME (A8)  

Data definition name.

Field Name Format/Length Operating System
DSNAME (A54)  

Dataset name for DDNAME.

Field Name Format/Length Operating System
DSORG (A4)  

If the dataset is open, organization of dataset.

Field Name Format/Length Operating System
IO-COUNT (N11)  

Number of I/O operations performed so far.

Field Name Format/Length Operating System
JOB-NAME (A8)  

Name of job.

Field Name Format/Length Operating System
LRECL (N5)  
Field Name Format/Length Operating System
MEMBER (A10)  

Member name used for DDNAME, for example, DSNAME(MEMBER).

Field Name Format/Length Operating System
PATH-NAME (A253)  

The path name of a z/OS UNIX file. This may be a generic path name.

Field Name Format/Length Operating System
PROC-NAME (A8)  

Current procedure name.

Field Name Format/Length Operating System
RECFM (A5)  
Field Name Format/Length Operating System
STEP-NAME (A8)  

Current step name.

Field Name Format/Length Operating System
TCB-ADDRESS (B4)  

TCB address of the requested job.

Field Name Format/Length Operating System
UNIT (A3)  

Unit on which DDNAME is allocated.

Field Name Format/Length Operating System
VOLSER (A6)  

Volume on which DDNAME is allocated.