Use Default Untranslatable (-defuntrans) to indicate to the AVM that session compiles behave as if the DEFAULT-UNTRANSLATABLE compiler option is specified. That is, the compiler interprets literal character strings with no string attributes as untranslatable. This is the same behavior as specifying the string:U syntax (see " "Character-string literal for more information on string attributes).

If your application is a single language, then using -defuntrans provides some benefits. For example, the compiler can concatenate untranslatable literal character strings with no string attributes at compile time instead of runtime, providing a slight increase in performance. Using -defuntrans also gives you untranslatable behavior without having to specify the :U syntax in your code, making your code less verbose.

Operating system and syntax Windows / Linux -defuntrans
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session

Notes

  • -defuntrans, if specified, can be overridden for a particular compile by using the DEFAULT-UNTRANSLATABLE=NO option of the COMPILE statement.

See also

" "Character-string literal, COMPILE statement