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.

XSPOOL REMOVE<br />

Responses<br />

Examples<br />

Response 1:<br />

nn FILES REMOVED<br />

is the normal response.<br />

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

To better underst<strong>and</strong> how XSPOOL REMOVE <strong>and</strong> XSPOOL UNLOCK work,<br />

consider this example:<br />

Two systems, SYSTEM1 <strong>and</strong> SYSTEM2, are joined in a CSE complex. This<br />

example follows one of USER01’s reader spool files in the two systems.<br />

v USER01 creates a spool file, <strong>and</strong> an associated spool file block is created by <strong>CP</strong><br />

on SYSTEM1. USER01 logs off that system.<br />

v The original spool file block remains on SYSTEM1.<br />

v When USER01 logs onto SYSTEM2, SYSTEM1 locks the original spool file block<br />

on behalf of SYSTEM2 <strong>and</strong> sends SYSTEM2 a copy spool block. SYSTEM1<br />

holds the original spool block, <strong>and</strong> SYSTEM2 holds a copy.<br />

v If SYSTEM1 goes down <strong>and</strong> the system operator has confirmed that it is down,<br />

the operator of SYSTEM2 should enter the XSPOOL REMOVE comm<strong>and</strong> using<br />

SYSTEM1 as sysname.<br />

The copy spool file block that is on SYSTEM2 is deleted not only for USER01’s<br />

spool file, but for all other spool file blocks that originated on SYSTEM1.<br />

v The operator should also enter the XSPOOL UNLOCK comm<strong>and</strong> using<br />

SYSTEM1 as sysname, because other original spool file blocks on SYSTEM2<br />

may have been copied to, <strong>and</strong> locked by, SYSTEM1.<br />

v All of the original spool file blocks on SYSTEM2 that were locked on SYSTEM1<br />

are unlocked.

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

Saved successfully!

Ooh no, something went wrong!