SHUT Command
Date: 2020-10-07 18:10:00

Up | Next | Prev | PrevTail | Tail

### 12.3 SHUT Command

This command takes a list of names of ﬁles that have been previously opened via an OUT statement and closes them. Most systems require this action by the user before he ends the REDUCE job (if not sooner), otherwise the output may be lost. If a ﬁle is shut and a further OUT command issued for the same ﬁle, the ﬁle is erased before the new output is written.

If it is the current output ﬁle that is shut, output will switch to the terminal. Attempts to shut ﬁles that have not been opened by OUT, or an input ﬁle, will lead to errors.

Up | Next | Prev | PrevTail | Front