Application Development Guide
If you are using Object Oriented COBOL, you must observe the
following:
- SQL statements can only appear in the first program or class in a compile
unit. This is because the precompiler inserts temporary working data
into the first Working-Storage section it sees.
- In an Object Oriented COBOL program, every class containing SQL statements
must have a class-level Working-Storage Section, even if it is empty.
This section is used to store data definitions generated by the
precompiler.
[ Top of Page | Previous Page | Next Page ]