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.

SPOOL<br />

Usage Notes<br />

1458 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

Full-screen data output operations are not placed in the spool file. After the<br />

console is closed, the file becomes a printer spool file. START applies only to<br />

consoles.<br />

STOp<br />

terminates the spooling of display station input <strong>and</strong> output. STOP does not<br />

close the console spool file. STOP applies only to consoles.<br />

TErm<br />

displays the display station input <strong>and</strong> output on your display screen <strong>and</strong> places<br />

it in a spool file. The TERM oper<strong>and</strong> has no effect unless the START function is<br />

also in effect. TERM applies only to consoles.<br />

NOTerm<br />

suppresses the display of input <strong>and</strong> output on your display screen while placing<br />

it in a spool file. The display of console input <strong>and</strong> output is not suppressed if:<br />

v It is the result of <strong>CP</strong> comm<strong>and</strong>s entered from <strong>CP</strong> mode<br />

v The output line immediately precedes a virtual machine read to the console.<br />

The NOTERM oper<strong>and</strong> has no effect unless the START function is in effect.<br />

NOTERM applies only to consoles.<br />

Full screen mode applications such as XEDIT <strong>and</strong> full screen CMS are not<br />

supported when the console is spooled NOTERM.<br />

ASYNChronous<br />

indicates you want to process other comm<strong>and</strong>s while the SPOOL comm<strong>and</strong><br />

completes.<br />

SYNChronous<br />

prevents you from executing other comm<strong>and</strong>s until the SPOOL comm<strong>and</strong><br />

completes.<br />

1. When specifying [TO] userid, if you omit the keyword TO, userid cannot be T<br />

or TO. If you are transferring your output to your own virtual machine, you may<br />

specify userid as an asterisk (*). If you specify TO userid, you cannot specify<br />

either the OFF or FOR oper<strong>and</strong>.<br />

2. Full screen functions may hang a user whose console is spooled NOTERM.<br />

For example, if a user is in XEDIT <strong>and</strong> tries to QUIT, the keyboard remains<br />

locked.<br />

3. SET IMSG OFF suppresses informational messages for this comm<strong>and</strong>.<br />

4. A spool file is created when the first record for a printer or punch is processed<br />

by the virtual unit record simulation routines in <strong>CP</strong>. <strong>CP</strong> associates this spool file<br />

with the virtual unit record device <strong>and</strong> assigns it a number called the spoolid<br />

(spool file identification). You can use spoolid to identify the file that you have<br />

produced, <strong>and</strong> to manipulate the file using the z/<strong>VM</strong> <strong>CP</strong> spooling comm<strong>and</strong>s,<br />

such as ORDER, CHANGE, <strong>and</strong> PURGE.<br />

When you print or punch a file, <strong>CP</strong> displays its spoolid. You can use the<br />

spoolid to find out various kinds of information about the file using the QUERY<br />

comm<strong>and</strong>.<br />

5. It is important to remember that the SPOOL comm<strong>and</strong> controls both<br />

operational characteristics of your virtual spooling devices <strong>and</strong> the disposition<br />

of files after they have been processed.<br />

For example, you use the SPOOL comm<strong>and</strong> to select the files you want to<br />

process on your virtual readers. The SPOOL READER comm<strong>and</strong> does not<br />

change any of the characteristics associated with the files in your reader

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

Saved successfully!

Ooh no, something went wrong!