Delete User-Defined FS (DLTUDFS)

The Delete User-Defined File System (DLTUDFS) command deletes an existing and unmounted user-defined file system (UDFS) and all of the objects within it. The command will fail if the UDFS is mounted.

Restrictions:

Parameters

Keyword Description Choices Notes
UDFS User-defined file system Path name Required, Positional 1

User-defined file system (UDFS)

Specifies the path name of the existing UDFS to be deleted. It must be in one of the following forms:

The name part of the path must be unique within the specified qaspXX or aspname directory.

Wildcard characters such as '*' and '?' are not allowed in this parameter. The command will fail if the UDFS specified is currently mounted.

This is a required parameter.

Note: This parameter is Unicode-enabled. See "Unicode support in CL" in the CL topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/ for additional information.

Examples

Example 1: Deleting a User-defined File System

DLTUDFS   UDFS('/dev/QASP01/joe.udfs')

This command deletes the user-defined file system (UDFS) named joe.udfs from the system auxiliary storage pool (ASP 1).

Error messages

*ESCAPE Messages

CPFA0A9
Object not found. Object is &1.
CPFA09C
Not authorized to object. Object is &1.
CPFA09E
Object in use. Object is &1.
CPFA0AC
Directory contains objects. Directory is &1.
CPFA1B8
*IOSYSCFG authority required to use &1.