27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Responses<br />

In all cases, the original KEEP/NOKEEP status of the file is unchanged by the<br />

CLOSE operation.<br />

Likewise, the disposition of a spool file that is to be processed on a real unit<br />

record device depends upon the resolution of HOLD, CONT, <strong>and</strong> KEEP status<br />

as implied by the device using the SPOOL <strong>and</strong> CLOSE comm<strong>and</strong>s. If an<br />

option is not specified on the CLOSE comm<strong>and</strong>, the option for the file is set<br />

from the corresponding option value on the virtual device.<br />

12. If you use the ASYNCHRONOUS option when you issue the CLOSE<br />

comm<strong>and</strong>, <strong>CP</strong> will send a device end (DE) interrupt to the device affected<br />

when the comm<strong>and</strong> completes.<br />

13. The CLOSE TO comm<strong>and</strong> may not be used to direct files to the RDR queue of<br />

a user with a password of NOLOG. CLOSE TO may be used to direct files to<br />

the PRT <strong>and</strong> PUN queues of a user with a password of NOLOG.<br />

Response 1:<br />

{PRT} rdev {PRINTING} userid<br />

{PUN} {PUNCHING}<br />

FILE spoolid RECS {nnnn} COPY [*]nnn SEQ sss CL c typ<br />

{nnnK}<br />

{nnnM}<br />

is the message you receive when the system begins processing a spool file with the<br />

MSG attribute.<br />

PRT<br />

PUN<br />

indicates the type of device on which the file is being processed.<br />

rdev<br />

identifies the real device number.<br />

userid<br />

identifies the user whose file was active.<br />

FILE spoolid<br />

identifies the unique, system-assigned spool ID number by which the system<br />

refers to the file.<br />

RECS nnnn<br />

RECS nnnK<br />

RECS nnnM<br />

identifies the number of logical records in the spool file. If the number is greater<br />

than 9999, the number is shown as nnnK, where K represents the number of<br />

lines rounded to the nearest 1000 records. If the number is greater than<br />

999499, the number is shown as nnnM, where M represents the number of<br />

lines rounded to the nearest million.<br />

COPY * nnn<br />

identifies the remaining number of copies of the file to be created.<br />

CLOSE<br />

When the optional asterisk (*) is specified, the 3800 printer prints each page<br />

from the spooled output files nnn times before going on to the next page.<br />

If a file is not spooled to the 3800 printer, the function performed by specifying<br />

the asterisk (*) is ignored, <strong>and</strong> duplication occurs normally.<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!