Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove link (DEL) command removes the link to the specified object. If this is the only hard link to the object, the object is removed when no longer in use. The object can be removed even if a symbolic link to it exists. The symbolic link remains until it is removed.
This command is an alias for the Remove link (RMVLNK) command and can also be issued using the following alternative command names:
For more information about integrated file system commands, see the Integrated file system information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
Restrictions:
QSYS.LIB and independent ASP QSYS.LIB File System Differences
However, there are exceptions to this rule. For example, to delete a compiler unit, which has the object type value of *MODULE, see the Delete Module (DLTMOD) command for any additional restrictions.
For a description of the object types, see the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
QDLS File System Differences
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OBJLNK | Object link | Path name | Required, Positional 1 |
Top |
Specifies the path name of the object to unlink. Multiple links can be removed with a name pattern.
The object path name can be either a simple name or a name that is qualified with the name of the directory in which the object is located. A pattern can be specified in the last part of the path name. An asterisk (*) matches any number of characters and a question mark (?) matches a single character. If the path name is qualified or contains a pattern, it must be enclosed in apostrophes.
For more information on specifying path names, refer to "Object naming rules" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
Top |
The alternative command name for DEL is RMVLNK. The following examples use the alternative command name, but DEL can be replaced directly for RMVLNK in all of them.
Example 1: Removing an Object Link
RMVLNK OBJLNK('PAY')
This command removes a link named PAY.
Top |
*ESCAPE Messages
Top |