To embed an SQL query into a COBOL program
- In the
OpenESQL Assistant, create an SQL query.
- In the IDE, open the project that contains the program into which you want to embed the SQL.
- Open the appropriate program in the program editor.
- Place your cursor at the point in your program where you want the query to appear.
- On the
OpenESQL Assistant, click
Insert Query into Current Program.