LIB-ZAP

#### Search Results

Search

# LIB-ZAP

File | 16
Op-Sys | z/OS
Statement | `PROCESS`
Task | Apply Zaps to load modules using `AMASPZAP`, without having to submit a batch job.

## 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 |
`DSNAME` | A54 |  | D | Required.
`VOLSER` | A6 |  | D | Required if dataset is not cataloged.
`LINE` | A121 |  | D |
`COMMAND` | A253 |  | D | Required.
`PASSWORD` | A8 |  |  | Required if dataset is password-protected.
`COMPLETION-CODE` | B2 |  |  |

## Field Descriptions

Field Name | Type/Length | Operating System
--- | --- | ---
`COMMAND` | (A253) |

Input cards to `AMASPZAP`. Use a semicolon (;) to delimit cards. For example:

    NAME MODULE;
      VER 2A 4700;
      REP 2A 47F0

If no command is specified, temporary file `&TEMP.SI` is read. In this manner, Zap cards can be written into the temporary file using the `WRITE-FILE` view, and `AMASPZAP` is invoked using the file as input.

Field Name | Type/Length | Operating System
--- | --- | ---
`COMPLETION-CODE` | (B2) |

Completion code returned from `AMASPZAP`.

Field Name | Type/Length | Operating System
--- | --- | ---
`DSNAME` | (A54) |

Fully qualified dataset name.

Field Name | Type/Length | Operating System
--- | --- | ---
`LINE` | (A121) |

`AMASPZAP` output line.

Field Name | Type/Length | Operating System
--- | --- | ---
`PASSWORD` | (A8) |

Password for dataset, if dataset is password protected.

Field Name | Type/Length | Operating System
--- | --- | ---
`VOLSER` | (A6) |

Volume serial number. Only required if dataset is not cataloged.

## Default Order of Data Returned

Each line of the output listing is presented in order.

### On this page

- Common Fields for all Operating Systems
- Field Descriptions
- Default Order of Data Returned