Modifying Locale Preferences

With the ALTER-LOCALE command, you can modify individual preferences in a locale. The ALTER-LOCALE command affects only the current program. It does not modify the pssqr.ini file.

Here is a code example of how you can modify default preferences in a locale:

alter-locale 
    date-edit-mask  = 'Mon-DD-YYYY' 
    money-edit-mask = '$$,$$$,$$9.99'

To restore modified locale preferences to their defaults, select the modified locale again. For example, suppose that the locale was US-English and the date and money edit masks were modified by using the preceding code. The following code resets the changed date and money edit masks:

alter-locale locale = 'US-English'