Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Edit commands and PF key processing z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|||||||||||||||||||
In the Edit function there are some differences between the way ISPF processes commands when they are entered from the command line as compared to when they are entered by a combination of the command line and a function (PF) key. In most applications, when you press a PF key, ISPF concatenates the contents of the command line to the definition of the function key. The result is handled as a single command by ISPF or by the application. When you use a PF key defined as a scroll command (UP, DOWN, LEFT,
or RIGHT) the system processes the command as follows:
If you manually type a scroll command on the command line (you do not use any PF keys) and it has an operand, the operand is checked for validity. However, in the case of a scroll operand that is not valid, the operand is not processed as a separate edit command as it is when used with a PF key. When you use a PF key defined as RFIND or RCHANGE, first the command line is processed and then the PF key is actioned. For example, if you type a Find command then press PF5, the new find string is passed to RFIND:
If you type C STR1 STR2 and press Enter to change STR1 to STR2, then on the command line type F STR3 and press the RCHANGE key, this results in the command C STR3 STR2 being run:
You can change this behavior of RCHANGE by using the EDITSET command to set an option, Force ISRE776 if RCHANGE passed arguments. If this option is set, RCHANGE will treat anything that you type on the command line as an invalid parameter and will return an error message ISRE776. |
Copyright IBM Corporation 1990, 2014
|