Execute a simple insert
The following steps outline how to execute a simple INSERT
statement with a system-descriptor area:
- Prepare the INSERT statement (with the PREPARE statement) and give it a statement identifier.
- Set the columns to their values with the SET DESCRIPTOR statement.
- Execute the INSERT statement with the EXECUTE...USING SQL DESCRIPTOR statement.