Was this helpful?
Use Alternate Sets of Global Constants
Your application normally uses the default set of constants defined in the application. You can set up alternate sets of global constants. For example, you can define and use constants for all language-dependent strings you use in an application. You can create one set for each language you want to use.
The default set of constants is stored in the database. You can create alternate sets of constants and store them in files. You can override the default constants by specifying the file name before running or editing an application. You can also specify a constants file when you create an image of the application.
When a global constant file is specified before running the application or creating an image, the values in the constant file override the default values stored in the database for that operation only. The contents of the file do not affect any subsequent Image, Go or Edit operations.
To specify a global constants file
1. Select Utilities from the menu in the Applications Catalog window or Application Flow Diagram Editor.
2. Select ConstantsFile from the menu.
3. Specify a filename in the Global Constants File Name field.
4. Return to the Applications Catalog or Application Flow Diagram Editor.
5. Select Go or Edit to run the application with the specified constants file.
Last modified date: 11/28/2023