| Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Commands (WRKCMD) command allows you to display a list of commands from one or more libraries.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| CMD | Command | Qualified object name | Required, Positional 1 |
| Qualifier 1: Command | Generic name, name, *ALL | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALLUSR, *ALL |
| Top |
Specifies the commands to be shown on the Work with Commands display.
This is a required parameter.
Qualifier 1: Command
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 QUSRDIRDB QUSRVI QGPL QSRVAGT QUSRIJS QUSRVxRxMx QGPL38 QSYS2 QUSRINFSKR QMGTC QSYS2xxxxx QUSRNOTES QMGTC2 QS36F QUSROND QMPGDATA QUSER38 QUSRPOSGS QMQMDATA QUSRADSM QUSRPOSSA QMQMPROC QUSRBRM QUSRPYMSVR QPFRDATA QUSRDIRCF QUSRRDARS QRCL QUSRDIRCL QUSRSYS
| Top |
WRKCMD CMD(QGPL/DSP*)
This command allows you to work with a list of all commands in the QGPL library that start with 'DSP'.
| Top |
*ESCAPE Messages
| Top |