| Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Font Resources (WRKFNTRSC) command allows you to work with all of the font resource space objects from the system or user libraries (or both).
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| FNTRSC | Font resource | Qualified object name | Optional, Positional 1 |
| Qualifier 1: Font resource | Generic name, name, *ALL | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALLUSR, *ALL | ||
| OBJATR | Object attribute | *ALL, CDEFNT, CDEPAG, FNTCHRSET | Optional, Positional 2 |
| Top |
Specifies the font resource to work with. A specific font resource or a generic font resource can be specified.
This is a required parameter.
Qualifier 1: Font resource
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 |
Specifies the type of font resource whose attributes are shown.
| Top |
Example 1: Searching for Font Resources
WRKFNTRSC FNTRSC(*ALL/GOTHIC*) FNTRSCATR(*ALL)
This command searches all libraries for the font resources whose first characters are 'GOTHIC'. All font resource types are shown.
Example 2: Searching for Font Resources
WRKFNTRSC FNTRSC(MYLIB/GOTHIC*) FNTRSCATR(FNTCHRSET)
This command searches library MYLIB for all font resources beginning with the letters 'GOTHIC'. Only font resources with attribute FNTCHRSET are shown.
Example 3: Searching for Font Resources
WRKFNTRSC FNTRSC(MYLIB/CODEPG3) FNTRSCATR(CDEPAG)
This command searches the library MYLIB for a font resource with the name CODEPG3 and the attribute CDEPAG.
| Top |
*ESCAPE Messages
| Top |