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.

SET PFnn RETRIEVE<br />

►►<br />

Set<br />

PFnn<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

Usage Notes<br />

RETrieve<br />

Backward<br />

Backward<br />

Forward<br />

CLEAR<br />

1<br />

Privilege Class: G<br />

1<br />

i<br />

SET PFnn RETRIEVE<br />

Use SET PFnn RETRIEVE to assign a RETRIEVE function to a PF key. Use the PF<br />

key to retrieve comm<strong>and</strong>s <strong>and</strong> search forward <strong>and</strong> backward through the<br />

RETRIEVE buffers.<br />

nn is the number of the program function key for which you are setting the<br />

RETRIEVE function.<br />

Backward i<br />

Forward i<br />

indicates the direction that <strong>CP</strong> skips through the RETRIEVE buffers. When this<br />

program function key is pressed, <strong>CP</strong> searches through the RETRIEVE buffers i<br />

positions (or 1 if i is not specified) <strong>and</strong> displays the comm<strong>and</strong> saved in that<br />

RETRIEVE buffer only.<br />

CLEAR<br />

causes <strong>CP</strong> to discard the contents of any existing RETRIEVE buffers. This<br />

option also causes <strong>CP</strong> to define this program function key as if you had entered<br />

the comm<strong>and</strong> SET PFnn RETRIEVE BACKWARD 1.<br />

1. If your keyboard has 24 PF keys, specify the PF key number, nn, as a value<br />

from 1 (or 01) to 24. If your keyboard has 12 PF keys, specify nn as a value<br />

from 1 (or 01) to 12.<br />

2. After you define a RETRIEVE program function key or run the SET RETRIEVE<br />

comm<strong>and</strong>, <strong>CP</strong> starts saving your input lines. If you enter SET PF11 RETRIEVE<br />

BACKWARD 5 <strong>and</strong> then SET PF12 RETRIEVE FORWARD 3, pressing PF11<br />

will move a pointer to the RETRIEVE buffer five buffers back. If you then press<br />

PF12, <strong>CP</strong> moves the pointer up three buffers to the second one back. Once you<br />

press ENTER to enter what was in the RETRIEVE buffer you selected, <strong>CP</strong><br />

resets the pointer back to the most recent buffer.<br />

3. As a default, <strong>CP</strong> keeps track of seven input lines. See the SET RETRIEVE<br />

comm<strong>and</strong> for modifying the number of input lines that are saved <strong>and</strong> for the<br />

effects that SET PFnn can have on the SET RETRIEVE comm<strong>and</strong>. Any input<br />

line that is an exact duplicate of the previous input line is not saved. For<br />

security reasons, input lines that are not displayed on the display device, such<br />

as passwords, are not saved.<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!