

Requirements and Options for Host Languages › Using SQL in a PL/I Application Program › Embedding SQL Statements
Embedding SQL Statements
Requirements
To embed an SQL statement in a PL/I program, you must:
- Include an SQLXQ1 declaration
- Observe PL/I margin requirements (columns 2 to 72)
- Use statement delimiters
Options
You can use SQL conventions to:
- Continue an SQL statement on the next line
- Insert comments in an SQL statement
You can use a precompiler-directive statement to copy SQL statements in a module from the dictionary into the program.
Copyright © 2013 CA.
All rights reserved.
 
|
|