Mark Host Variables
Use the Mark Host Variables tool to add a $ (dollar sign) prefix before all program variables used in static SQL statements.
The $
prefix forces compilation errors when a variable is not defined.
It also makes the code more readable.
The Mark Host Variables tool is part of the fglcomp compilation
tool (fglcomp --mark-host-variables
). For more information, see the
Mark SQL host variables with $ topic in the Genero Business Development Language User Guide.
From Code Editor
With the file open in the Code Editor, select
.From the File Browser or Project Manager
From the File Browser or Projects view:
- Select one or more files or groups.
- Right-click and select Mark Host Variables.