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.

SET PFnn<br />

Usage Notes<br />

Messages<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 only 12 PF keys, specify nn as a<br />

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

2. For DELAYED, if the length of the saved data is longer than the input area, it is<br />

truncated to the input area length. The input area length is twice the terminal<br />

line size minus 21. The QUERY TERMINAL comm<strong>and</strong> returns the LINESIZE<br />

field used in this calculation.<br />

For IMMED <strong>and</strong> NODISP, the length of the data is limited to the greater of either<br />

the input area length or 240.<br />

Note: Remember that this applies to the terminal where you will be pressing<br />

the PF key.<br />

3. You can use the line end symbol to separate comm<strong>and</strong>s that you want to run<br />

with the designated program function key.<br />

For example, suppose your virtual machine has the line editing function set ON,<br />

<strong>and</strong> is using the pound sign (#) as the logical line end symbol.<br />

While in CMS mode, enter set linedit off. Then enter set pf02 immed q<br />

rdr#q pun or cp set pf02 immed q rdr#q pun. (<strong>CP</strong> assigns the two QUERY<br />

comm<strong>and</strong>s as functions of the PF02 key.) Then enter set linedit on. (Pressing<br />

the PF02 key runs the two QUERY comm<strong>and</strong>s.)<br />

Since the entire input line is accepted as valid program function data, do not<br />

specify further SET comm<strong>and</strong> functions on the SET PFnn comm<strong>and</strong> line.<br />

4. On a DELAY PF key, if SUBSTITU is not specified, the cursor is positioned at<br />

the end of the data. If SUBSTITU is specified <strong>and</strong> all of the &ns are substituted<br />

with tokens, the cursor is also positioned at the end. If some &ns are not<br />

substituted, the cursor is positioned over the first &n that is not substituted.<br />

5. If you press a PF key that has not been set, the following message is displayed:<br />

PFnn UNDEFINED<br />

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

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

6. To use the DELAY function on a 3101, you must be in block mode.<br />

7. On a 3101 device, if you press a PF key that has been defined using<br />

SUBSTITU, the &ns are always substituted with nulls.

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

Saved successfully!

Ooh no, something went wrong!