Inserts a row into the specified cursor.
PUT cursor-name [ USING DESCRIPTOR sqlda-name | FROM hostvar-list ] [ INTO { DESCRIPTOR into-sqlda-name | into-hostvar-list } ] [ ARRAY :nnn ]
Inserts a row into the named cursor. Values for the columns are taken from the first SQLDA or the host variable list, in a one-to-one correspondence with the columns in the INSERT statement (for an INSERT cursor) or the columns in the select list (for a SELECT cursor).
The PUT statement can be used only on a cursor over an INSERT or SELECT statement that references a single table in the FROM clause, or that references an updatable view consisting of a single base table.
If the sqldata pointer in the SQLDA is the null pointer, no value is specified for that column. If the column has a DEFAULT VALUE associated with it, that is used; otherwise, a NULL value is used.
The second SQLDA or host variable list contains the results of the PUT statement.
For information on putting LONG VARCHAR or LONG BINARY values into the database, see SET statement [ESQL].