AIPS HELP file for FILEZAP in 31DEC24
As of Thu Oct 10 7:28:30 2024
FILEZAP: Verb to destroy an external file
INPUTS
DOCONFRM -1.0 1.0 > 0 require confirmation
ERROR @ -1.0 1.0 > 0 => verb had an error
File name to be zapped is an immediate argument
e.g. FILEZAP 'MYAREA:SOURCE.BOX'
FILEZAP OBOXFILE
HELP SECTION
FILEZAP
Type: Verb
Use: FILEZAP is a verb to delete the subsidiary input and output
files identified in AIPS with adverbs such as DATAIN, DATAOUT,
INFILE, IN2FILE, OUTFILE, OUTPRINT, BOXFILE, OBOXFILE, INTEXT,
OUTTEXT, etc. The file to be deleted is provided as an
immediate argument which can be either a string adverb or a
quoted string. The value of this string is in the usual form
which is described in detail in HELP INFILE. Examples are
FILEZAP 'MYAREA:source.box'
FILEZAP 'MYAREA:source.box
OUTFILE = 'FITS:JUNK.FITS'
FILEZAP OUTFILE
Note that the close quote changes the string to all upper case
letters. Thus to delete source.box in my directory pointed to
by $MYAREA, I must make the FILEZAP command be the last on the
input line and I must omit the close quote as in the 2nd example
above. The first example deletes SOURCE.BOX.
Input adverbs:
DOCONFRM.....> 0 => that you will be asked to confirm the deletion
before it occurs. Answer yes or no either all in upper
or all in lower case letters. <= 0 => that you had
better choose the immediate argument carefully before
hitting carriage return
Output adverbs:
ERROR .....= 1 => an error occurred in the operation, including
that the file did not exist
= -1 => no error occurred and the file has been deleted
EXPLAIN SECTION