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 />

Messages<br />

3. The PURGE NSS comm<strong>and</strong> interrupts an in-process SAVESEG or SAVESYS<br />

operation to purge the saved segment or named saved system before the save<br />

completes. This will not leave a partially-saved system data file on the system.<br />

The skeleton system data file will be purged <strong>and</strong> must be redefined before the<br />

saved segment or named saved system can be resaved.<br />

4. In response to the PURGE comm<strong>and</strong>, <strong>CP</strong> purges the designated files unless<br />

the files are currently in use. If a file is currently in use, <strong>CP</strong> places it in a<br />

pending purge state (class P), <strong>and</strong> purges it as soon as it is no longer being<br />

used or the system is shut down or re-IPLed. If the file being purged is a<br />

member of a segment space, the system places it in pending purge status if any<br />

user is accessing any member of the segment space. The system purges the<br />

member when the segment space is no longer in use.<br />

5. If you do not specify ASSOCIATES <strong>and</strong> the target of the PURGE comm<strong>and</strong> is a<br />

member saved segment, <strong>CP</strong> purges only that member. It does not purge any<br />

other file, <strong>and</strong> it does not update any segment space descriptions. If the target<br />

of the PURGE comm<strong>and</strong> is a saved segment, <strong>CP</strong> purges only the saved<br />

segment. If the target of the PURGE comm<strong>and</strong> is a segment space, <strong>CP</strong> purges<br />

only that segment space. It does not purge any other file, <strong>and</strong> it does not<br />

update members of that segment space.<br />

6. To determine if a file is in a pending purge state, enter the QUERY NSS<br />

comm<strong>and</strong>. If the file is in a pending purge state, the <strong>CP</strong> response shows that<br />

the file as class P.<br />

Response 1:<br />

{nnnn} FILE(S) PURGED<br />

{ NO}<br />

displays the count of files purged.<br />

nnnn<br />

indicates the number of files purged.<br />

Response 2:<br />

{nnnn} FILE(S) PENDING PURGE<br />

displays the count of files waiting to be purged.<br />

nnnn<br />

indicates the number of files to be purged when they are no longer in use.<br />

For example, when five NSS or saved segment files exist <strong>and</strong> two are in use, <strong>and</strong><br />

you enter purge nss all, the responses are:<br />

0003 FILES PURGED<br />

0002 FILES PENDING PURGE<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>008E Invalid spoolid - spoolid<br />

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

PURGE NSS<br />

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

H<strong>CP</strong>423E The function requested is incompatible<br />

with a previously specified oper<strong>and</strong>.<br />

H<strong>CP</strong>1001E An oper<strong>and</strong> is missing for option.<br />

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

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

Saved successfully!

Ooh no, something went wrong!