Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Libraries Using PDM (WRKLIBPDM) command enables you to work with a single library or multiple libraries. Using this command, you can bypass the Programming Development Manager (PDM) menu and the Specify Libraries to Work With display.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
LIB | Library | Character value, *PRV, *LIBL, *USRLIBL, *ALL, *ALLUSR, *CURLIB | Optional, Positional 1 |
ASP | ASP number | 1-32, *ALL | Optional |
ASPDEV | ASP device | Name, *, *SYSBAS, *CURASPGRP | Optional |
Top |
Specifies the libraries to work with.
The generic name can be in one of the following formats:
Top |
Specifies the auxiliary storage pool (ASP) for the libraries that should be shown on the Work with Libraries display. This parameter is ignored when a value of *LIBL, *CURLIB or *USRLIBL is entered for the library parameter. If a number is specified for this parameter, the ASP device (ASPDEV) parameter value must be *.
Top |
Specifies the auxiliary storage pool (ASP) device name where storage for the library being displayed is allocated. If the library is in an ASP that is not part of the thread's library name space, this parameter must be specified to ensure the correct library is displayed. If a number is specified for the ASP number (ASP) parameter, the ASPDEV parameter value must be *.
Top |
Example 1: Work with Libraries in Job Library List
WRKLIBPDM LIB('*LIBL')
This command allows you to work with all of the libraries that are in the library list of the current job. The libraries are listed in the same order as the library list.
Example 2: Work with a Generic Set of Libraries
WRKLIBPDM LIB('*PAY*')
This command allows you to work with the subset of libraries that contain the letters PAY in the library name. The libraries are listed in alphabetical order.
Top |
Top |