Previous Topic: Source CodeNext Topic: Arguments


Purpose

WRGLB supplies runtime information to the GUI, such as the numeric thousands separator character, the numeric decimal point character, the currency symbol, the date separator character, and the date order.

The numeric characters are used when editing numeric fields for output. The characters should correspond to the edit pattern in the model. For example, if the edit pattern in "@ZZZ.ZZZ,99", the WRGLB exit should specify "@" as the currency symbol, "." as the thousands separator, and "," as the decimal point.

Date and time information is used only for date and time fields where the model does not specify the edit pattern. In these cases, the GUI runtime uses this information to build a default edit pattern using the information provided by the WRGLB exit. For example, if the WRGLB exit specifies the date separator as "-" (a dash) and the date order is yymmdd, then the default date edit pattern is yy-mm-dd.