Example of correcting an error during an Edit session
If an error occurs during an Edit session, FM/Db2 displays =ERR
, =ERR R, or the SQLCODE in the prefix area of the row
(or rows) in error. Example: error indicated during
Edit session shows an error
has occurred for one row.
To determine the type of error, type E in the
prefix area for the row in error and press Enter. FM/Db2 displays
an error information panel that describes the error and instructions
about what you can do to correct the error.
You can then take one of the following actions:
Cancel the Edit session by pressing the Cancel function key (F12). Any
uncommitted changes are lost.
Press Enter or the Exit function key (F3) to return
to the Edit session.
Use the REDIT primary command (if the error information panel
offers it as an option) to edit the related table to correct the error.
Note: If the error information panel does not offer the REDIT
primary command as an option, REDIT displays an Edit session.
In the example shown in Example: error indicated during
Edit session, the
error has been caused by two rows having the same index key (rows
4 and 5 both have an EMPNO of 000050). To correct the error:
Press Enter to return to the Edit session.
Change the offending index key for row 5 to a unique value such
as 000060.
Press the Exit function key (F3) to
return to the Edit session.
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.