Program properties

The following program-level properties are available with the BasicProgram stereotype:

Table 1. Program properties
Property Description
alias A string (enclosed in quotation marks) that is incorporated into the names of generated output. If you do not specify an alias, EGL uses the program name instead.
allowUnqualifiedItemReferences Specifies whether to allow your code to omit container and substructure qualifiers when referencing fields in structured records or data tables. This property is maintained for compatibility only. The default value is NO.
handleHardIOErrors Determines whether a program continues to run after a hard error has occurred on an I/O operation in a try block. This property is maintained for compatibility only. The default value is YES.
i4glItemsNullable Determines whether a program emulates the behavior of I4GL in creating variables as nullable by default. Compatibility property. Default is NO.
includeReferencedFunctions Determines whether a program includes all standalone functions for the package. This property is maintained for compatibility only. The default value is NO.
inputRecord Identifies a global, basic record that a program automatically initializes and that can receive data from a program that transfers control to the current program.
localSQLScope Determines whether identifiers for SQL result sets and prepared statements are local to the current program. This property is maintained for compatibility only. The default value is YES.
msgTablePrefix Identifies the first part of the name of a DataTable that is used as the message table for the program.
textLiteralDefaultIsString Determines whether literals without specific type designation receive the STRING type or (if set to NO) a type based on the characters in the literal. This promotes compatibility with programs migrated from VisualAge® Generator. The default value is YES.
throwNrfEofExceptions Determines whether a soft error causes an exception to be thrown. This property is maintained for compatibility only. The default value is NO.
v60ExceptionCompatibility Determines whether to use an older form of exception handling. This property is maintained for compatibility only. The default value is NO.

Feedback