| Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Object Links (WRKLNK) command shows a list of names of specified objects in directories and options to work with the objects.
Restrictions:
Note: The authority requirements for this command are complex with respect to file systems, object types, requested operations etc.. Therefore, see the System i Security Reference, SC41-5302 book for information about the required authorities for this command.
For more information about integrated file system commands, see the Integrated file system topic collection in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| OBJ | Object | Path name, * | Optional, Positional 1 |
| OBJTYPE | Object type | *ALL, *ALLDIR, *ALRTBL, *AUTL, *BLKSF, *BNDDIR, *CFGL, *CHTFMT, *CHRSF, *CLD, *CLS, *CMD, *CNNL, *COSD, *CRG, *CRQD, *CSI, *CSPMAP, *CSPTBL, *CTLD, *DDIR, *DEVD, *DIR, *DOC, *DSTMF, *DTAARA, *DTADCT, *DTAQ, *EDTD, *EXITRG, *FCT, *FIFO, *FILE, *FLR, *FNTRSC, *FNTTBL, *FORMDF, *FTR, *GSS, *IGCDCT, *IGCSRT, *IGCTBL, *IMGCLG, *IPXD, *JOBD, *JOBQ, *JOBSCD, *JRN, *JRNRCV, *LIB, *LIND, *LOCALE, *MBR, *MEDDFN, *MENU, *MGTCOL, *MODD, *MODULE, *MSGF, *MSGQ, *M36, *M36CFG, *NODGRP, *NODL, *NTBD, *NWID, *NWSD, *OUTQ, *OVL, *PAGDFN, *PAGSEG, *PDG, *PGM, *PNLGRP, *PRDAVL, *PRDDFN, *PRDLOD, *PSFCFG, *QMFORM, *QMQRY, *QRYDFN, *RCT, *SBSD, *SCHIDX, *SOCKET, *SPADCT, *SQLPKG, *SQLUDT, *SQLXSR, *SQL2XSR, *SRVPGM, *SSND, *STMF, *SVRSTG, *SYMLNK, *S36, *TBL, *TIMZON, *USRIDX, *USRPRF, *USRQ, *USRSPC, *VLDL, *WSCST | Optional |
| DETAIL | Detail | *PRV, *NAME, *BASIC, *EXTENDED | Optional |
| DSPOPT | Display option | *PRV, *USER, *ALL | Optional |
| Top |
Specifies which objects are shown.
For more information on specifying path names, refer to "Object naming rules" in the CL topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/.
| Top |
Specifies the type of objects to display.
To see a complete list of object types when prompting this command, position the cursor on the field for this parameter and press F4 (Prompt). For a description of the object types, see "Object types" in the CL topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/.
| Top |
Specifies how much information is to be displayed on the Work with Object Links (WRKLNK) list.
| Top |
Specifies whether to display PC system and hidden objects.
| Top |
Example 1: Working with an Object Link
WRKLNK OBJ('X/PAY')
This command displays the Work with Object Links panel. This panel shows a list of names of objects in a directory and provides options for performing operations on those objects. In this example, the object's name is PAY and is located in directory X in the current directory.
| Top |
*ESCAPE Messages
| Top |