PURGEDIR

CONFIRM

Causes a prompt that asks the user to con￿rm the purge of the

 

directory. A di￿erent prompt is seen depending on whether

 

dir

 

name is to be purged with the TREE option or with the

 

 

 

trailing slash feature. CONFIRM is the default for sessions.

 

CONFIRM is ignored for jobs.

NOCONFIRM

Causes the purge of dir

 

name (and all objects under it for

 

 

TREE purges) without the need to prompt. NOCONFIRM is the

 

default for jobs.

SHOW

Displays to $STDLIST each ￿le or directory under dir

 

name

 

 

that was purged. Directory names are alwa ys displayed in an

 

HFS syntax, even if the name was speci￿ed as an MPE name.

NOSHOW

Suppresses the displa y of each ￿le and directory purged.

 

NOSHOW is the default.

SHOWERRORS

Causes each lower-level error that prevents an object belo w

 

dir

 

name from being deleted, to be displa yed on $STDLIST .

 

 

 

The object (￿le or directory) name is sho wn, followed by the

 

error message. By default, lo wer-level errors are not displa yed.

NOSHOWERRORS Suppresses the displa y of low-level errors. NOSHOWERRORS is the default.

Use

You can issue the PURGEDIR command from a job, a session, a program, or in break mode. Pressing 4Break5 terminates execution of this command. Y ou must have TD access to eac h component in the dir name pathname, and

DDpermission to the paren t directory of dir name . (Refer to the ALTSEC command for more information on directory access.) If wildcards are speci￿ed with dir name , then RD access is required to the paren t directory of eac h wildcard component. If the purge is m ultilevel, then TD, RD and DD accesses are necessary to eac h directory belo w dir name .

You can also use wildcards with the PURGEDIR command. For examples of using wildcards with PURGEDIR , refer to the Example section.

MPE/iX Commands 2-187