Statements/parameters for CNLcccxx

MONTH
Specifies the string to be substituted in translated messages for the corresponding month of the year. For example,
MONTH MONTH1(JANVIER)

for the French language specifies that the string “JANVIER” will be printed in messages translated to French where the U.S. English message contains the month name “January”.

MONTH1(monthname) - MONTH12(monthname)
Specifies the string to be substituted in translated messages for the months of January through December.
DAY
Specifies the string to be substituted in translated messages for the corresponding day of the week. For example,
DAY DAY1(SONNTAG)
for the German language specifies that the string “SONNTAG” will be printed in messages translated to German where the U.S. English message contains the day name “Sunday”.
DAY1(dayname) - DAY7(dayname)
Specifies the string to be substituted in translated messages for the days of Sunday through Saturday.
DATE
Specifies the format for displaying dates in message texts.
ID(DATExxxxxx)
Specifies the format identifier where xxxxxx is 1 to 6 alphanumeric characters. The format identifiers are case sensitive and each identifier must be unique.
FORMAT(datestring)
Specifies the format of the date in the translated message text. The following keywords can appear in the string:
&dd
Include the numerical day of the month in the text (01-31)
&dz
Include the numerical day of the month in the text but suppress leading zeros (1-31)
&dj
Include the numerical day of the year in the text (001-366)
&mm
Include the numerical month of the year in the text (01-12)
&mz
Include the numerical month of the year in the text but suppress leading zeros (1-12)
&mt
Include the name of the month in the text as specified on the MONTH statement
&yy
Include the last two digits of the year in the text
&yr
Include all four digits of the year in the text

You can use any characters to delimit the keywords.

For example, given the date April 12, 2001, the date formats and their results follow:
DATE ID(DATE1) FORMAT(&mm/&dd/&yr)      (4/12/2001)
DATE ID(DATESHORT) FORMAT(&dd-&mm-&yr)  (12-4-2001)
DATE ID(DATELONG) FORMAT('&dd &mt &yr') (12 April 2001)
TIME
Specifies the format for displaying time in message texts.
ID(TIMExxxxxx)
Specifies the format identifier where xxxxxx is 1 to 6 alphanumeric characters. The format identifiers are case sensitive and each identifier must be unique.
FORMAT(timestring)
Specifies the format of the time in the translated message text. The following keywords can appear in the string:
&hh
Include the numerical hour (in the range 00-11) in the text
&hz
Include the numerical hour (in the range 00-11) in the text but suppress leading zeros
&h4
Include the numerical hour (in the range 00-23) in the text
&h0
Include the numerical hour (in the range 00-23) in the text but suppress leading zeros
&mm
Include the position of the minutes in the text
&ss
Include the position of the seconds in the text
&dn
Include the number of decimal places, where n is a number from 1 to 6
&ap
Specifies an am/pm indicator

You can use any characters to delimit the keywords.

For example, given the time 11:46:12.1234 P.M., the date formats and their results follow:
TIME ID(TIME1) FORMAT(&h4:&mm:&ss)                23:46:12
TIME ID(TIME2) FORMAT(&h0-&mm)                    23-46
TIME ID(TIME3) FORMAT(&hh-&mm-&ss.&d3)            11-46-12.123
TIME ID(TIMESHORT) FORMAT(‘&hh:&mm:&ss &ap’)      11:46:12 PM
TIME ID(TIMELONG) FORMAT(‘&mm MINUTES PAST &hh’)  46 MINUTES PAST 11
DEFAULTS
Defines the default date and time formats for the language.
DEFAULTDATE(datestring)
Specifies the date format to use when no DATE statements are specified. To code datestring, follow the format shown for the FORMAT keyword of the DATE statement.
DEFAULTTIME(timestring)
Specifies the time format to use when no TIME statements are specified. To code timestring, follow the format shown for the FORMAT keyword of the TIME statement.