The ERA (erase) command removes files. The files that are erased are those that satisfy the ambiguous file reference afn.
The file named X.Y is removed and the space is returned.
All files with primary name X are removed.
All files with secondary name ASM are removed.
All files that satisfy the ambiguous reference X?Y.C?M are deleted.
Erase all files.
In all cases, the CCP prompts the user with the message
which requires a Y response before files are actually removed.