The System z® LPEX editor enables you to use the following Interactive System Productivity Facility (ISPF) commands in addition to those provided by the base LPEX editor, as described in ISPF base profile and Key settings in the ISPF editor profile. The behavior of these commands is similar to the behavior of the same commands in the ISPF editor. For detailed descriptions of the ISPF editor commands and string specification, refer to the ISPF Edit and Edit Macros book. The commands within the LPEX editor provide a subset of the functions available in the ISPF editor.
Commands that accept strings generally accept the same formats that the ISPF commands accept. For example, quoted, character, text and picture strings are accepted. Additionally, regular expressions are accepted as search strings by placing the regular expression in quotes preceded by an R. For example, FIND R'[0-9]{3}' will find strings containing three numbers. Hexadecimal specification is not accepted.
F5 Repeat Find
F6 Repeat Change
F7 Scroll Up
F8 Scroll Down
F10 Page Left
F11 Page Right
The highlighting of strings is done differently in LPEX than it is in ISPF. In ISPF, all instances of a found string are highlighted. In LPEX, only the current instance of the string is highlighted.
Labels also behave slightly differently within the LPEX editor because ISPF labels are not a native feature of the LPEX editor.
Name* | Description | Supported parameters |
---|---|---|
C | Find and replace | {FIRST, LAST, NEXT, PREV, ALL} |
F | Find | {FIRST, LAST, NEXT, PREV, ALL} |
X | Exclude lines. | {FIRST, LAST, NEXT, PREV, ALL} |
SORT | Sort document lines. | { A, D } |
BOUNDS | Set context boundary for commands. Note: The
BOUNDS command does not affect commands entered in the prefix area
(such as the shift command: ))). The BOUNDS command
only affects commands entered in the LPEX command line, namely C,
F, X, and SORT.
|
{column numbers} |
RFIND | Repeat the last find command. | N/A |
RCHANGE | Repeat the last change command. | N/A |
FLIP | Inverts the include/exclude status of each line in the document. Hidden lines become shown and vice versa. | N/A |
RESET | Show excluded lines and remove the highlighting of found strings . | { X, CHG, FIND } |
DELETE | Deletes lines in a specified range. | { ALL, X, NX , label range } |
* Many of these commands
have aliases. For example: FIND, F CHANGE, C EXCLUDE, X BOUNDS, BNDS RESET, RES DELETE, DEL |