U@@REMOVEFILE

U@@REMOVEFILE deletes all the pieces of the temporary file whose name is passed as its argument.

Module DATABASE
Input

E@TMPFILE

E@TMPFILE contains the IFS path to the work file.

Parameters

Physical file name (10 characters in length, include spaces if necessary), %ADDR(E@TMPFILE), %SIZE(E@TMPFILE)

For example:

U@@REMOVEFILE('AR110WF7 ': %ADDR(E@TMPFILE): %SIZE(E@TMPFILE))

Output No output returned.

Programming Example

*       Delete work file. (from AR110)
        CALLP     S@C@AR110WF7                 Close AR110WF7
        EVAL      E@TMPFILE      = PWS@AR1107 
        CALLP     S@C@AR110WF7                 Close AR110WF7
        CALLP     U@@REMOVEFILE('AR110WF7  ':  
                  %ADDR(E@TMPFILE): %SIZE(E@TMPFILE))