| Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Service Program (WRKSRVPGM) command allows you to display and work with a list of service programs from one or more libraries.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| SRVPGM | Service program | Qualified object name | Required, Positional 1 |
| Qualifier 1: Service program | Generic name, name, *ALL | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALLUSR, *ALL |
| Top |
Specifies the search process for service programs to be placed in the list. All service programs with names corresponding to the specified parameter value, and for which the user has authority, are shown.
This is a required parameter.
Qualifier 1: Service program
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 |
WRKSRVPGM SRVPGM(COMPLETE)
This command displays the Work with Service Programs panel, showing a list of service programs named COMPLETE that are located using the library list.
| Top |
| Top |