r CLOSE s. FiguLe 7 shows what happens to an input file in your virtual reader
when theCLOSE command is issued with the HOLD or NJHOLD operand in
effect. TheCLOSE command can result in an input file being purged
ors3.ved. (CLOSE Command Settinq) Norm3.l EOF In /:) oF:::I" 1 ... \ ....... _.-\,4 ...... '- CLOSE) CLOSE CLOSE HOLD CLOSE NOHOLD SPOOL Command Options Set for a virtual Input Device NOHOLD File purged
File purged
File saved
File purgedHOLD File saved
File saved
File savedI I ----------------------------1
File purgedI ----------------------1 INote: The term "saved" means that the file is neither purged
linHOLD st3.tus. A subsequent READ could read this file.
nor isitl I L ____ J
Figure 7.Action on CLOSE for a Virtual Input Device.
rI I 6. FiguLe 8 shows what happens to a file in your virtual output device
when theCLOSE command is issued with the HOLD, NOHaLD, CONT, and NOCONT operands in effect. SPOOL Command Options Set for a Virtual Output Device
1 (CLOSE Command
sett inq)NOHOLD NOCO}!T HOLD NOCONT NOHOLD HOLD CONT CONT CLOSE CLOSE HOLD IFile released I File held Ifor processinql IFile held I File held
iNoI I No
action
1
iNo action
1I ac tion 1 INo action
1CLOSE NOHOLD IFile released IFile released INo action
1INo action
1
lfor processinglfor processinqlI 1 INc is taken until you issue a SPOOL {PRTIPUN} NOCONT command. I Then vou can issue a CLOSE command to release the file for I processinq.
L
Fiqure 8. Taken on CLOSE for a Virtual Output Device Section 5. Format of CP Commands 55
when the
effect. The
or
File purged
File saved
File purged
File saved
File saved
File purged
lin
nor is
Figure 7.
r
when the
1 (C
sett inq)
iNo
action
1
iNo action
1
1
1
1
lfor processinglfor processinql
L
Fiqure 8.