This topic describes the unique application and coding requirements
for embedding SQL statements in an iSeries™ PL/I
program. Requirements for host structures and host variables are defined.
Define SQL descriptor areas in PL/I applications that use SQL There are two types of SQL descriptor areas.
One is defined with the ALLOCATE DESCRIPTOR statement. The other is defined
using the SQLDA structure. In this section, only the SQLDA form is discussed.
Use host structures in PL/I applications that use SQL
In PL/I programs, you can define a host structure, which
is a named set of elementary PL/I variables. A host structure name can be
a group name whose subordinate levels name elementary PL/I variables.