ALLOCATIONS

#### Search Results

Search

# ALLOCATIONS

File | 22
Statement | `FIND`
Task | Reads information relating to files allocated to the specified job via DD statements. Files allocated dynamically are also returned.

## Fields

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 |
`PATH-NAME` | A253 |  | D |

## Relevant Error Codes

Code | Text
--- | ---
805 | Invalid TCB address.

## Field Descriptions

Field Name | Format/Length
--- | ---
`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
--- | ---
`BLKSIZE` | (N5)

Field Name | Format/Length
--- | ---
`CLASS` | (A8)

Dataset classification. Possible options:

Option | Explanation
--- | ---
`DUMMY` | Dummy dataset.
`SYSIN` | JES `SYSIN` dataset.
`SYSOUT` | JES `SYSOUT` dataset.

Field Name | Format/Length
--- | ---
`DDNAME` | (A8)

Data definition name.

Field Name | Format/Length
--- | ---
`DSNAME` | (A54)

Dataset name for `DDNAME`.

Field Name | Format/Length
--- | ---
`DSORG` | (A4)

If the dataset is open, organization of dataset.

Field Name | Format/Length
--- | ---
`IO-COUNT` | (N11)

Number of I/O operations performed so far.

`JOB-NAME` | (A8) |

Name of job.

Field Name | Format/Length
--- | ---
`LRECL` | (N5)

Field Name | Format/Length
--- | ---
`MEMBER` | (A10)

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

Field Name | Format/Length
--- | ---
`PATH-NAME` | (A253)

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

Field Name | Format/Length
--- | ---
`PROC-NAME` | (A8)

Current procedure name.

Field Name | Format/Length
--- | ---
`RECFM` | (A5)

Field Name | Format/Length
--- | ---
`STEP-NAME` | (A8)

Current step name.

Field Name | Format/Length
--- | ---
`TCB-ADDRESS` | (B4)

TCB address of the requested job.

Field Name | Format/Length
--- | ---
`UNIT` | (A3)

Unit on which `DDNAME` is allocated.

Field Name | Format/Length
--- | ---
`VOLSER` | (A6)

Volume on which `DDNAME` is allocated.

### On this page

- Fields
- Relevant Error Codes
- Field Descriptions