XMLEDIT primary command
The XMLEDIT primary command starts a new ISPF editor session, in edit mode, for an XML document. The Db2® object being processed must contain an XML column.
The command is cursor sensitive. Type the command, move the cursor to the XML column of interest and press Enter. An ISPF editor session, in edit mode, for the XML column at the cursor position is displayed.
Note: Do not use the SAVE command in am
XMLEDIT session because the XML data will not be updated in the Db2
table.
The command can also be issued without cursor positioning, in which case parameters may be required:
Syntax
- #n
- A valid reference. The data type for #n must be XML. #n can be omitted when the Db2® object contains only one XML column. If #n is omitted when the Db2® object contains multiple XML columns, FM/Db2 searches for the first selected XML column, starting at #1.
- row
- A number that identifies a row in the editor session. A row number should not be specified when the command is issued in SNGL mode, the command applies to the currently displayed row.