Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Modules (WRKMOD) command allows you to display and work with a list of modules from one or more libraries.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MODULE | Module | Qualified object name | Required, Positional 1 |
Qualifier 1: Module | Generic name, name, *ALL | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALLUSR, *ALL | ||
MODATR | Module attribute | *ALL, CBLLE, CLE, CLLE, CPPLE, RPGLE | Optional, Positional 2 |
Top |
Specifies how to search for modules to be placed in the list. All modules with names that correspond to the specified parameter value, and for which the user has authority, are shown.
This is a required parameter.
Qualifier 1: Module
Qualifier 2: Library
#CGULIB #DSULIB #SEULIB #COBLIB #RPGLIB #DFULIB #SDALIB
Although the following Qxxx libraries are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are considered user libraries and are also searched:
QDSNX QRCLxxxxx QUSRIJS QUSRVxRxMx QGPL QSRVAGT QUSRINFSKR QGPL38 QSYS2 QUSRNOTES QMGTC QSYS2xxxxx QUSROND QMGTC2 QS36F QUSRPOSGS QMPGDATA QUSER38 QUSRPOSSA QMQMDATA QUSRADSM QUSRPYMSVR QMQMPROC QUSRBRM QUSRRDARS QPFRDATA QUSRDIRCL QUSRSYS QRCL QUSRDIRDB QUSRVI
Top |
Specifies that a list of modules with the selected attribute is shown.
Top |
WRKMOD MODULE(MYLIB/*ALL)
This command lists all the modules to which the user has authority that are stored in library MYLIB.
Top |
*ESCAPE Messages
Top |