RPTEURO

European formatting

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET

The RPTEURO environment variable specifies that European formatting conventions are applied to numeric values.

One of the following values:

0 = MMDDYY or MMDDYYYY format

1 = DDMMYY or DDMMYYYY format

2 = YYMMDD or YYYYMMDD format

All other values are treated as 0.

If RPTEURO is set to any value, ReportWriter uses commas as decimal points and periods as separators in numeric values. If the date is a period date, RPTEURO is ignored.

When using RPTEURO, you must place a space between the literals and the comma in a subscript specification. For example:

"FIELD[1 , 2]"

This rule applies to subscripts specified within ReportWriter input fields and report schemas.

We recommend using the Synergy DBL LOCALIZE subroutine instead of RPTEURO in conjunction with ReportWriter’s external subroutine interface.

The environment. On Windows, this environment variable can also be set in the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

ReportWriter

On Unix,

RPTEURO=1    ;export RPTEURO