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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SPOOL<br />

Responses<br />

¹These are default classes only if a specific class is not part of your entry in<br />

the system directory.<br />

7. You can transfer a spool file to another z/<strong>VM</strong> user by issuing the SPOOL,<br />

CHANGE, CLOSE, or TRANSFER comm<strong>and</strong>s. Use the CHANGE <strong>and</strong><br />

TRANSFER comm<strong>and</strong>s to transfer already existing files. Use the SPOOL or<br />

CLOSE comm<strong>and</strong>s to transfer files that you are in the process of creating, or<br />

files you plan to create. For example, if you want to transfer the printer or<br />

punch files you are creating to another user’s virtual reader, enter spool vdev<br />

to userid rdr, where vdev identifies by number or type your virtual machine<br />

output device, <strong>and</strong> userid identifies the virtual machine of the receiving user.<br />

Designating a reader, a printer, or a punch is optional; the default designation<br />

is reader. The comm<strong>and</strong> defines the user queue to which you are directing the<br />

file.<br />

If you want to print or punch a file for someone else, enter spool vdev for<br />

userid, where vdev identifies by number or type your virtual machine output<br />

device, <strong>and</strong> userid identifies the virtual machine of the receiving user.<br />

8. When a file changes ownership, as when it is changed to or from another user,<br />

the spoolid number changes also; the new number is obtained from a pool of<br />

numbers available to the file recipient.<br />

Thus, if user SAM transfers his file number 3 to user HARRY, he gets the<br />

response:<br />

RDR 0003 SENT TO HARRY RDR AS 0018<br />

Harry now has the file as file number 18.<br />

9. If you specify options that apply to a 3800 printer, such as COPY(*), FLASH,<br />

MODIFY, FCB, or CHARS, the 3800 printer must be controlled by <strong>CP</strong> rather<br />

than the print server.<br />

10. If DEST is not specified on a comm<strong>and</strong> that sets a DEST value, the current<br />

value is unchanged.<br />

11. If an external security manager is installed on your system, you may not be<br />

authorized to transfer spool files using the TO <strong>and</strong> FOR options. For additional<br />

information, contact your security administrator.<br />

12. The SPOOL comm<strong>and</strong> may not be used to direct files to the RDR queue of a<br />

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

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

Response 1:<br />

{RDR} FILE spd1 SENT {TO } userid {RDR } AS spd2 RECS {nnnn}<br />

{PRT} {FROM} {PRT } {nnnK}<br />

{PUN} {PUN } {nnnM}<br />

{CON}<br />

Continued:<br />

COPY [*]nnn c {HOLD } {KEEP }<br />

{NOHOLD} {NOKEEP}<br />

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

RDR<br />

PRT<br />

PUN<br />

CON<br />

identifies the spool file queue. If you are transferring a file to another user’s

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

Saved successfully!

Ooh no, something went wrong!