delete - UDM Command

Syntax

delete logical-name=file-specification

Description

The delete command deletes a file (or series of files if file-specification contains any wildcards) from the transfer server with the corresponding logical name.

Parameters

Parameter

Description

logical-name

Server from which you want to delete the file(s).

file-specification

File or files to be deleted; it can be a single filename or a complete path to a file or directory.

The filename (or filename portion of the path) can contain wildcard characters:

  • Wildcard * represents zero or more characters.
  • Wildcard ? indicates a single character.

Note

In z/OS, wildcards can be used on sequential data sets.

Examples

To delete all members of a PDS:


To delete all files in a single directory level:


To delete a single file: