Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Files (WRKF) command shows a list of files and allows you to copy, delete, save, and restore files, and to display file descriptions.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | File | Qualified object name | Required, Positional 1 |
Qualifier 1: File | Generic name, name, *ALL | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALLUSR, *ALL | ||
FILEATR | File attributes | *ALL, BSCF38, CMNF38, DDMF, DFU, DFUEXC, DFUNOTEXC, DKTF, DSPF, DSPF38, ICFF, LF, LF38, MXDF38, PF, PF38, PRTF, PRTF38, SAVF, TAPF | Optional, Positional 2 |
Top |
Specifies the files to be shown on the Work with Files display.
This is a required parameter.
Qualifier 1: File
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 the type of file whose attributes are to be shown.
Top |
WRKF FILE(X/PAY)
This command allows you to work with the file named PAY which is located in library X.
Top |
*ESCAPE Messages
Top |