Rule Definition
textLiteralDefaultIsString property must be set to NO
The textLiteralDefaultIsString property tells EGL how to deal with text literals. By default, EGL treats a literal that has no explicit type declaration as a STRING
If you set textLiteralDefaultIsString to NO, EGL gives the literal an appropriate type for assignment to a VisualAge Generator parameter.
Remediation
Try to always use textLiteralDefaultIsString set to YES
Violation Code Sample
program TEST type basicProgram //VAGen Info - called batch program
(TEST1, // record
TEST2 TEST2L, // record
TEST3 TEST3 // record
){includeReferencedFunctions = no, allowUnqualifiedItemReferences = no, throwNrfEofExceptions = no, handleHardIOErrors = yes, V60ExceptionCompatibility = no, I4GLItemsNullable = yes, textLiteralDefaultIsString = yes, localSQLScope = no}
Related Technologies
Technical Criterion
Efficiency - Memory, Network and Disk Space Management
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.