/DELETE
/DELETE, Fname
, Ext
, --
, DistKey
Deletes a file.
Fname
File name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name.
The file name defaults to the current Jobname.
Ext
Filename extension (eight-character maximum).
--
Unused field.
DistKey
Key that specifies which file deletion action is performed on all processes in distributed-memory parallel mode:
0 (OFF or NO)
—
The program performs the file deletion only on the master process (default).
1 (ON or YES)
—
The program performs the file deletion locally on each process.
2 or BOTH
—
The program performs file deletion for
Fname
.Ext
on the master process and forFnameN
.Ext
on all processes.
Notes
In distributed-memory parallel (DMP) mode, only the master process will delete
Fname
.Ext
by default. However, when
DistKey
is set to 1 (or ON, or YES) or 2 (or BOTH), the command is
executed by all processes. In this case, Fname
will automatically have
the process rank appended to it. This means
FnameN
.Ext
will be deleted by all
processes, where N
is the DMP
process rank. For more information see
Differences in General Behavior in the Parallel Processing Guide.