PRESERVE
Purpose
Use the PRESERVE subcommand to save the settings of various XEDIT variables until a subsequent RESTORE subcommand is issued.
Usage Notes
- The following settings are saved:
- Current LEFT or RIGHT
- The following SET subcommand options:
ARBCHAR
AUTOSAVE
BFSLINE
CASE
CMDLINE
COLOR
COLPTR
CURLINE
DISPLAY
ESCAPE
ETARBCH
FILLER
FMODE
FNAME
FTYPE
HEX
IMAGEIMPCMSCP
LASTLORC
LINEND
LRECL
MACRO
MASK
MSGMODE
NAMETYPE
NULLS
NUMBER
PACK
PNAME
PREFIX
RECFM
SCALE
SCOPESERIAL
SHADOW
SPAN
SPILL
STAY
STREAM
SYNONYM
TABLINE
TABS
TOFEOF
TRUNC
VARBLANK
VERIFY
WRAP
ZONE
=
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. - 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
