CATALOG-UPDATE

#### Search Results

Search

# CATALOG-UPDATE

File | 10
Statement | `PROCESS`
Task | Perform catalog maintenance functions.

## Fields

Dictionary Field Name | F/L | Mu | DE | Remarks
--- | --- | --- | --- | ---
`ERROR-CODE` | N3 |  |  |
`ERROR-TEXT` | A58 |  |  |
`NODE` | N5 |  | D |
`NODE-NAME` | A16 |  | D |
`SYSTEM-MESSAGE-CODE` | A10 |  |  |
`DSNAME` | A54 |  | D | Required.
`VOLUMES` | A240 |  | D |
`DEVICE` | A8 |  | D |
`FILE-SEQUENCE` | N3 |  | D |
`FUNCTION` | A8 |  | D | Required.

## Relevant Error Codes

Code | Text
--- | ---
571 | `DSNAME` operand missing.
600 | Unknown operation.
602 | Device is invalid.
603 | Index/Alias missing.
604 | No volumes specified.
658 | Dataset is not catalogued.

## Field Descriptions

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

Device code, for example, `3400-3`.

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

Fully qualified dataset name.

Field Name | Format/Length
--- | ---
`FILE-SEQUENCE` | (N3)

Used for tape files. This value is used for the first volume only.

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

Function to be performed. Possible values:

Value | Explanation
--- | ---
`CATLG` | Catalog new entry.
`RECATLG` | Recatalog an existing entry.
`UNCATLG` | Remove a catalog entry.

Field Name | Format/Length
--- | ---
`VOLUMES` | (A240)

Volume list. The maximum is 40 entries of 6 bytes each.

Number of versions of a file saved in a backup archive.

### On this page

- Fields
- Relevant Error Codes
- Field Descriptions