PRESERVE

Read syntax diagramSkip visual syntax diagram PREServe

Purpose

Use the PRESERVE subcommand to save the settings of various XEDIT variables until a subsequent RESTORE subcommand is issued.

Usage Notes

  1. The following settings are saved:
    1. Current LEFT or RIGHT
    2. The following SET subcommand options:
    Note: Only the SET values are saved for CURLINE, not the values returned by the EXTRACT CURLINE. For example, the current line pointer is not saved.
  2. The following values are not saved:
    • Current line pointer
    • Column pointer
    • All SET subcommand options not listed in Usage Note 1.b

Messages and Return Codes

520E
Invalid operand: operand [RC=5]

where return codes are:

0
Normal
5
Invalid operand
6
Subcommand rejected in the profile due to LOAD error, or QUIT subcommand has been issued in a macro called from the last file in the ring