AUTHORIZED-LIBRARIES

#### Search Results

Search

# AUTHORIZED-LIBRARIES

File | 50
Statement | `FIND`
Task | Display a list of APF authorized data sets.

## 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` | A44 |  | D | Data set or library
`VOLSER` | A6 |  | D | Volume or *SMS*
`DEVICE` | B4 |  |  |
`FILE-SYSTEM` | A3 |  | D |
`PREFIX` | A3 |  | D |
`SERIES` | A8 |  | D |

## Relevant Error Codes

Code | Text
--- | ---
782 | CSVAPF LIST <retcode>< reason-code>

## Field Descriptions

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

Name of the data set or its prefix.

All APF authorized data sets are returned as an unordered list.

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

Volume of the data set, or `*SMS*` if the volume resides on an SMS controlled device.

## Example: Using AUTHORIZED-LIBRARIES View

Assume the following datasets exist:

The example program ...

    FIND AUTHORIZED-LIBRARIES WITH
       DSNAME=PPEX.*

    DISPLAY DSNAME VOLSER

... returns the following information:

      DSNAME                             VOLSER
    PPEX.IAF901.LOAD                             *SMS*
    PPEX.IAF901.LOAD.DEV                         *SMS*
    PPEX.IMS.RESLIB                              DBDC10
    PPEX.MLC124.LOAD                             *SMS*

### On this page

- Fields
- Relevant Error Codes
- Field Descriptions
- Example: Using AUTHORIZED-LIBRARIES View