7.2.2.1 Preparing and executing dynamic SELECT statements (for SQL descri
ptor area)
To fetch data continuously, prepare and execute a dynamic SELECT statement. An example of an application program
that executes a dynamic SELECT statement using the SQL descriptor area is shown in "Figure: Example of
application program that executes a dynamic SELECT statement."
Example:
This is an example of a dynamic SELECT statement entered from a terminal.
154