Skip to main content

Module sql

Module sql 

Source
Expand description

The host type of a declared item, which EXEC SQL binds by: what rt::sql needs from the layout. The SQLCA’s fields by name, and what DESCRIBE puts in each SQLNAME, as rt::lir has them.

Functions§

host_array
How a multiple-row statement takes layout item var, named with or without subscripts, and its indicator: a host-variable array, an item of one OCCURS named without subscripts, with its dimension; None for one host variable; or why it is neither (Db2 13 for z/OS, Host-variable arrays in COBOL).
host_type
The host type of layout item item, or why it cannot be a host variable.
sql_names
sqlca_fields
The SQLCA’s fields by name, in the order they are filled.