Previous Topic: Meta-Variables in RPG Internal Functions and OBASE/Set Current Date and TimeNext Topic: Use of Backslash Character in Values for Java


Use of Single Quote Character in Java Messages and Source Code

The Java Generator at CA Plex r4.5 and earlier required two single quote characters ('') to be used in messages and source code and required a single quote to be used at run time. For example, this was required when embedding parameters in the source code for use with the Exec SQL statement. This behavior was inconsistent with other generators.

This problem was corrected in CA Plex r5.0. Now only a single quote character (') is required. However, any existing messages or source code that used the previous workaround need to be edited when upgrading to r5.0.