CLOSE Use the CLOSE command to terminate the spooling activity on any virtual spoolej unit record or console device. The format of the :LOSE command
PRINTER PRT PUNCH PCH vaddr HOLD NOHOLD r , I Reader r , I Ivaddr !HOld I I I !NOHoldl I L L .I .I r r , , ICONsole PUrge I I I Printer I I ) !PUnch r ,
r , I I Ivaddr IHOld I r DIst distcode] INAme {fn CftJ}' I I , I NOHoidl I dsname I I , L L L .I L J J J
closes all reader spool files.
closes your virtual machine's console spool file. Once a virtual console spool file is closed, it becomes a printer
spool file and can be manipulated in the same way as any
printer spool file (for example, it can be purged or changed).
closes all printer spool files.
closes all punch spool files.
is the virtual address (cuu) of the device to be closed. The address may represent a reader, console, printer, or punch.
makes the output spool file being closed unavailable for
further processing, until it is specifically requested or
changed. However, input reader files are still available for
processing (see Figure 7). This option, specified in the CLOSE command, overrides any previously specified HOLD or NOHOLD option for the files being closed.
makes the output spool file being closed available for further
processing, but the input reader file is no longer available
for nrocessing (see Figure 7). Specify NOHOLD if a HOLD established by the SPOOL command is still in effect and the
current active file is not to be held. Yoa can release one of your own output files in HOLD status by
using the CHANGE command. If an output file is spooled for
another user (SPOOL FOR userid), only the receiving virtual machine user can the file sta tus. If an output fil_e is
spooled to another user as an input file (SPOOL TO userid),
the HOLD option places the input file in HOLD status. The
file then cannot be read by the virtual machine until it is
changed to NOHOLD by the receiving virtual machine user.
section 5. Format of CP Commands 53
CLOSE PUR3E If input file is closed with the HOLD option, the file is
saved and not purged from the system. The saved file is avai13ble for virtual machine and user processing and is not
placed in a user hold status. Input spool files that are
closed are normally purged from the virtual machine.
closes and immediately purges from the virtual machine the
output spool files. No output file is produced. DIST distcode
uses the one-to eight-character alphameric identification
(distcode) on the output separators of printer and punch
instead of the identification specified in the VM/310 directory. The distribution code is changed for this file
only and does not affect other files or change the VM/310 directory. If the file is spooled to another user, this
option has no effect. NTiME fn [ftl
assigns identification to the spool file in the eMS format
filename and filetype. The filename, fn, is a one-to
eiqht-character alphameric name assigned to the file for
identification. The filetype, ft, is a one-to
eight-character alphameric type assigned to the file for
identification. If ft is not the filetype is set
to blanks. NTiME dsnalte assiqns identification to the spool file in a non-CMS format.
The dsname field is a 1-to 24-character field suitable for OS or DOS files (for example, SYS1.SYSLIB.MYMAC). Only 20 characters of the 24-character dsname are displayed by QUERY, even though a name of up to 24 characters is valid. 1. If the file is an input reader file, the file being processed is plrged unless SPOOL READER HOLD was previously specified (see the The effect of HOLD or NOHOLD for a particular file
established by the SPOOL command can be overridden by specifying NOH-OLD or HOLD, respectively, in the CLOSE command.
2. If an input spool file is read but the read is not completed (that
is, the virtual machine does not get a last-card indication), you
must issue a CLOSE READER command in order to be able to read that
file (or to read any other file). Unless you specify HOLD when you close a reader file, the file is purged.
3. If the file is an output file on a printer, punch, or console, the
file is either queued for output on a real unit record device, or,
if the virtual output device is transferred (by use of the "SPOOL TO userid" command), the file is queued for input to the
receivinq user.
4. You can specify distcibution code
its contents.
a filename and filetype and an
to aid in later identification of the IBM LP Command Reference for General Users optional
file and
Previous Page Next Page