4. Embedded SQL for Fortran : Preprocessor Operation : Coding Requirements for Embedded SQL Programs : Embedded SQL Statements that Generate Labels
 
Share this page                  
Embedded SQL Statements that Generate Labels
The Embedded SQL statements that generate labels are the Embedded SQL select statement and all the Embedded SQL/FORMS block-type statements. Each of these statements reserves its own range of 200 labels in a defined range for such statements of 7000 through 12000. Consequently, you cannot have more than 200 of any single label-generating statement in the same program unit. For example, 201 display statements in a single subroutine causes a compiler error indicating that a particular label was used more than once. You could, however, have 200 display statements and 200 unloadtable statements without causing a problem.