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.

Examples<br />

function key retrieve buffers available to their own virtual machines. A new SET<br />

RETRIEVE comm<strong>and</strong> can be used to increase the number of program function<br />

key retrieve buffers without affecting the contents of the existing buffers.<br />

3. For more information on displaying the current number of program function key<br />

retrieve buffers available to your virtual machine <strong>and</strong> the maximum number of<br />

buffers that any user may request, see the QUERY RETRIEVE comm<strong>and</strong>.<br />

If you issue a SET PFn with no parameters (for the PF key you had assigned to<br />

RETRIEVE), the number of buffers is set to zero, making your RETRIEVE<br />

ineffective.<br />

q pf1<br />

PF01 RETRIEVE BACKWARD<br />

q retrieve<br />

7 buffers available. Maximum of 20 buffers may be selected.<br />

Ready; T=0.01/0.01 16:06:56<br />

set pf1<br />

Ready; T=0.01/0.01 16:07:04<br />

q retrieve<br />

0 buffers available. Maximum of 20 buffers may be selected.<br />

Ready; T=0.01/0.01 16:07:08<br />

If you have two pf keys set for RETRIEVE, for example PF1 <strong>and</strong> PF12 <strong>and</strong> you set<br />

PF12 to undefined:<br />

q pf1<br />

PF01 RETRIEVE BACKWARD<br />

Ready; T=0.01/0.01 16:18:52<br />

q pf12<br />

PF12 RETRIEVE BACKWARD<br />

Ready; T=0.01/0.01 16:18:58<br />

q retrieve<br />

7 buffers available. Maximum of 20 buffers may be selected.<br />

Ready; T=0.01/0.01 16:19:08<br />

set pf12<br />

Ready; T=0.01/0.01 16:19:15<br />

q retrieve<br />

7 buffers available. Maximum of 20 buffers may be selected.<br />

Ready; T=0.01/0.01 16:19:20<br />

then it does NOT set the buffer to zero.<br />

SET RETRIEVE works to set a number of buffers for you even if you have no pf<br />

keys set to retrieve. However, if you then set your all your pf keys to null, the<br />

retrieve buffer is set to zero. Suppose you have only two pf keys set, PF3 <strong>and</strong> PF5:<br />

q pf<br />

PF01 UNDEFINED<br />

PF02 UNDEFINED<br />

PF03 IMMED INFOLIST<br />

PF04 UNDEFINED<br />

PF05 IMMED EXEC MAILBOX<br />

PF06 UNDEFINED<br />

.<br />

.<br />

PF24 UNDEFINED<br />

Ready; T=0.01/0.01 17:05:03<br />

<strong>and</strong> you set retrieve but then set PF3 <strong>and</strong> PF5 to null:<br />

SET RETRIEVE<br />

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

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

Saved successfully!

Ooh no, something went wrong!