User`s guide
CLOSE
(KMON)
Closes and makes permanent all output files that are currently open in the
background job.
Format
CLOSE
Description
The CLOSE command accepts no options or arguments.
You can use the CLOSE command to make tentative open files permanent; otherwise,
they are lost.
The CLOSE command is particularly useful in two cases:
• After you type a
CTRL/C
to abort a background job
• After an unexpected program termination
In these cases, CLOSE preserves any new files that were being used by the
terminated program.
The CLOSE command has no effect on a foreground job and will not make permanent
any files opened on magnetic tape.
The CLOSE command does not work if your program defines new channels (with the
.CDFN programmed request). Because CTRL/C or .EXIT resets channel definitions,
the CLOSE command has no effect on channels it does not recognize.
Example
The following example shows how the CLOSE command makes temporary files
permanent:
.R PROG
RET
.
.
.
CTRL/C CTRL/C
.CLOSE
RET
30 RT–11 Command Descriptions










