Creating a data editor request for a Db2 table
- On the menu bar, click View > Command Palette or press Ctrl+Shift+P.
- In the command palette, start typing DevX File-AID: Create Data Editor Request for a Db2 Table and select it from the list. Alternatively, you can right-click the data set and select Browse or Edit.
The Data Editor Request (Db2) page is displayed.
- If you have opened the Data Editor Request (Db2) dialog box from the context menu, the HCI connection and Db2 table fields are already populated, so skip to step 5.
- If you opened the dialog box from the command palette, follow these steps:
- Select the HCI connection.
Click Find and select the Db2 table name. Once the Db2 table is validated, the Selection Criteria tab is enabled.
In the Display section, enter the maximum number of rows you want to view in the table and the maximum number of rows that you want to view per page.
- (Optional) Select the Retrieve rows with uncommitted reads check box to allow statements to read rows modified by other transactions that have not yet been committed.
- In the Run mode section:
- Select Browse or Edit.
- If you selected Edit:
- Specify whether to enable auditing. Auditing is enabled by default.
- Select Audit edit section for shared use
- Click Run.
Perform the following actions in the table in the text and hexadecimal mode.
Purpose
Action
Freeze and unfreeze column
Right-click on the column heading and select Freeze to freeze the column and Unfreeze to unfreeze the column.
Edit fields in a row
- Double-click a row, or right-click it and click Edit.
- Edit the fields.
- To save your edit to the cache, click
or press Enter. If you have inserted an incorrect value, an error message is displayed, and the original field value is restored.
The
icon is displayed beside the row. - To cancel an edit, click
. - To save the edited record, press Ctrl+S. To discard your edits, right-click and select Undo Pending Edit.
When multiple users try to update the same record of the same table, the following error message is displayed in the notification.

Insert a row
- Right-click and select Insert.
- Enter the required details in the inserted row and press Enter.
You see the green icon () beside the row and on mouse hover it displays that the inserted record will be saved once you save the page.
- To remove the inserted row, right-click and select Undo Pending Insert or press Ctrl +s to insert the row.
Delete a row
- Right-click the row and select Delete.
The
icon is displayed beside the row. - To keep the row, right-click it and select Undo Pending Delete.
- To save your deletion, press Ctrl+S.
Duplicate a row
- Right-click on the row and select Duplicate. A new row is inserted and all values of the selected row are copied to the new row,
- Press Enter to save the row.
You see the green icon () beside the row. - Right-click and select Undo Pending Insert or press Ctrl +s to insert the row.
- To remove the inserted row, Right-click and select Undo Pending Insert or press Ctrl +s to insert the row and save the changes.
Reverse an edit, insertion, or deletion
- Click Undo Page (
). - In the notification, click Undo Page.
You can expand the row to view and edit the data added in the rows in hexadecimal and text mode.
