In place of the DSN you can use SESSION or an asterisk to compare the current edit session with the same dataset stored on disk. Otherwise a DSN or member name is required for the file to be compared to. You can add those lines to the current file using the MAKEDATA command (see Edit Line Commands, MD).ĬOMPARE with no arguments presents the Edit Compare Settings panel. Lines existing only in the other file are shown as information lines. Lines existing only in the current file are marked with labels. =MSG>, =NOTE=, =MASK>, =COLS>, and =)ĬOMPARE calls SuperC to compare the current edit session with another file. Special Deletes all special lines (=PROF>, =BNDS>, =TABS>, Operands can be provided to specify exactly what to reset:Ĭommand (CMD) remove pending line commands RESET with no operands cleans up everything except line labels.
RESET clears all line commands, reshows excluded lines, deletes special lines, clears all line flags, and turns off the last FIND highlight. L LABEL PREV locates the previous label.L SPECIAL locates the next special line (e.LOC CHG NEXT locates the next changed line.LOCATE ERR FIRST locates the first error line.=NOTE=, =ERR>), your own label, or a pending line command. The label can be the “line number”, any special label (e. SORT 1 15 A 20 20 D sorts all lines based on two fields, the first field in ascending order and
SORT 1 15 X sorts all excluded lines based on the data in columns 1 through 15 SORT 1 8 sorts based on the data within columns 1 through 8 inclusive SORT 10 sorts from column 10 to the right bound If one field specifies ascending or descending, all fields must specify it. When using multiple fields, both start and end columns must be provided. The maximum number of sort fields is five. Sort lets you sort fields in either ascending or descending order. This is a way to sort columned data separately. If bounds are on, only the data within the bounds is sorted and moved other data is not moved.
The entire record is subject to sorting unless bounds are set. ISPF COMMANDS – SORT, LOCATE, RESET, FLIP, COMPARE