Editor Options (6 of 8) panel
You use the Editor Options (6 of 8) panel to set your default editor options.
Panel and field definitions
- Enter key usage
- Set this option to one of the following:
- 1. No action
- This is the default setting. No special action is taken when the Enter key is pressed and no other operations are pending. Any changes made during an Edit session are only presented to Db2® when an explicit SAVE command is issued, or at the end of the Edit session.
- 2. Save data
- All pending changes are submitted to Db2® for
processing whenever the Enter key is pressed (and no other operations
are pending). Successful changes are not committed until the end of
the Edit session, unless the Commit changes when Save issued option
is selected. Rows for which there was an unsuccessful change are marked
with
=ERR
,ERR R
, or the SQLCODE in the prefix area (see Show SQLCODE). - 3. Save data and commit changes
- All pending changes are submitted to Db2® for
processing whenever the Enter key is pressed (and no other operations
are pending). Rows for which there was an unsuccessful change are
marked with
=ERR
,ERR R
, or the SQLCODE in the prefix area (see Show SQLCODE). FM/Db2 issues an explicit Db2® commit at the end of the save process; however, this only occurs if:- No save errors were encountered, or
- Commit when no save errors is turned off.
- Commit when save issued
- The default for this option is selected. The setting for
this option may have been fixed by the product installer. FM/Db2 issues
an explicit Db2® commit at the
end of the save process; however, this only occurs if:
- No save errors were encountered, or
- Commit when no save errors is turned off.
- Commit when no save errors
- The
default for this option is not selected. The setting for this option
may have been fixed by the product installer.
When this option is not selected, FM/Db2 issues an explicit Db2® commit at the end of the save process, regardless of whether any errors were encountered during the save process.
When this option is selected, FM/Db2 only issues an explicit Db2® commit at the end of the save process when no errors were encountered during the save process.
- Auto-commit count
- The
default action, indicated by a zero value, is that no automatic Db2® commit points are during the
editor SAVE process. When a positive value is specified, FM/Db2 issues
an automatic Db2® commit point
whenever there have been value successful
changes during the SAVE process (where value is
the value specified for Auto-commit count). Specifying a non-zero
value can cause multiple Db2® commit
points to be issued during the SAVE process.
Example:
With an auto-commit count of 2 and 11 successful changes processed during a SAVE process, five Db2® commit points are issued. The changes for the last row processed remain uncommitted.
Parent panels
parentpanels shown below. To go to the Editor Options (6 of 6) panel, you then press the NxtPage function key (F11) five times.
You can only display the Editor Options (6 of 8) panel if the Enter key and commit processing options option on the Editor Options (1 of 8) panel is selected.
Child panels
To display this panel… | Use/do this |
---|---|
Editor Options (5 of 8) panel | Press the PrvPage function key (F10) |
Editor Options (7 of 8) panel | Press the NxtPage function key (F11) |