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.

CHANGE<br />

Messages<br />

H<strong>CP</strong>002E Invalid oper<strong>and</strong> - oper<strong>and</strong><br />

4. Class G users can change files they own or have created from their primary or<br />

alternate IDs.<br />

5. If you use CHANGE to transfer a file to another user <strong>and</strong> you do not specify a<br />

distribution code, the distribution code is set to the receiving user’s default<br />

distribution.<br />

6. Although you can specify the CHANGE options of FLASH, FCB, MODIFY,<br />

CHARS, <strong>and</strong> COPY * nnn for any spool file or files, they lead to system action<br />

only when a spool file with these attributes is printed on a <strong>CP</strong>-driven 3800<br />

printer.<br />

7. A user can cancel settings of the CHARS, MODIFY, or FCB options by<br />

specifying NULL in the name fields of these oper<strong>and</strong>s. In this case, NULL<br />

performs the same function as OFF.<br />

8. The keyword OFF, which resets attributes to their default values, cannot also<br />

be used to specify a FORM, FLASH, FCB, MODIFY, DISTcode, or CHARS<br />

name. Similarly, you cannot use NULL to specify a CHARS, MODIFY, or FCB<br />

name.<br />

9. If the NORETURN option was specified when the file was created by<br />

DIAGNOSE X'94', the originator of the file cannot retrieve that file from the<br />

current owner. If you try, the following message is issued:<br />

FILE NOT CHANGED;<br />

FILE CREATED WITH THE NORETURN OPTION<br />

10. When a file changes ownership, the spool file ID number also changes. The<br />

new number comes from the recipient’s pool of available IDs. Thus, if user<br />

DORA uses the CHANGE comm<strong>and</strong> to send file #3 to user LILA, DORA gets<br />

the response:<br />

RDR FILE 0003 SENT TO LILA<br />

RDR WAS 0018 RECS 1000 <strong>CP</strong>Y<br />

001 A NOHOLD NOKEEP<br />

LILA now has file #18.<br />

11. Most of the CHANGE comm<strong>and</strong> options which are valid for reader, printer, or<br />

punch files are not valid for system trace files (TRFILES). Refer to the<br />

CHANGE: OPTIONS syntax diagram above for the options which are valid for<br />

system trace files.<br />

12. System trace files (TRFILES) may only be changed from one user’s TRFILES<br />

queue to another user’s TRFILES queue. Only system trace files may be<br />

changed to a TRFILES queue.<br />

13. The SYS option puts a file in system hold <strong>and</strong> NOSYS releases the file from<br />

system hold. The SYS <strong>and</strong> NOSYS can be used in addition to HOLD <strong>and</strong><br />

NOHOLD.<br />

H<strong>CP</strong>003E Invalid option - {option|comm<strong>and</strong><br />

contains extra option(s) starting with<br />

option}<br />

H<strong>CP</strong>006E Invalid device type - {rdev|vdev|ldev}<br />

H<strong>CP</strong>007E Invalid userid - userid<br />

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

H<strong>CP</strong>020E Userid missing or invalid<br />

H<strong>CP</strong>026E Oper<strong>and</strong> missing or invalid<br />

H<strong>CP</strong>028E Class missing or invalid<br />

H<strong>CP</strong>035E Device type missing or invalid<br />

H<strong>CP</strong>042E User userid spoolid nnnn does not exist

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

Saved successfully!

Ooh no, something went wrong!