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.

Responses<br />

finished. For example, you would enter FLUSH if a file was directed to a printer<br />

equipped with the wrong printer train or a file was misdirected to the real punch<br />

rather than to a user’s virtual reader.<br />

2. Special h<strong>and</strong>ling is required if a spool file is started on a real output device that<br />

cannot be made ready. If this condition occurs, the operator receives an error<br />

message, recovers the file, <strong>and</strong> restarts it. To do so, enter flush rdev hold.<br />

3. If the operator has specified HOLD, the file is placed in system hold status. If<br />

not <strong>and</strong> multiple copies of the file are to be processed, the file is requeued <strong>and</strong><br />

started on another device, if one is available.<br />

4. The virtual machine associated with prtid processes the FLUSH comm<strong>and</strong>.<br />

Therefore, the options given on the FLUSH comm<strong>and</strong> must be valid for the<br />

virtual machine processing it.<br />

Response 1:<br />

PRT rdev FILE FLUSHED userid FILE spoolid RECS nnnn COPY [*]nnn SEQ sss CL c type<br />

PUN FILE HELD nnnK<br />

COPY FLUSHED nnnM<br />

PRT<br />

PUN<br />

identifies the type of device you have flushed.<br />

rdev<br />

identifies the real device number of the printer or punch to be affected.<br />

FILE FLUSHED<br />

FILE HELD<br />

COPY FLUSHED<br />

indicates the disposition for the file.<br />

userid<br />

identifies the user who was to receive the output.<br />

spoolid<br />

identifies the system-assigned number by which <strong>CP</strong> 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 in thous<strong>and</strong>s rounded to the nearest 1000 records. If the number is<br />

greater than 999499, then the number is shown as nnnM, where M represents<br />

the number of lines in millions rounded to the nearest million.<br />

COPY nnn<br />

COPY *nnn<br />

specifies the number of file copies you want printed or punched when the file is<br />

produced.<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 indicated by the asterisk<br />

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

SEQ sss<br />

identifies the sequence number for the file on the printer or punch.<br />

FLUSH<br />

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

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

Saved successfully!

Ooh no, something went wrong!