You can specify different date formats with the SET DATE command. You can set the format for an entire CA OLQ session by including the SET DATE command in the signon profile qfile or the PF key module. You can also specify a code table to be used when generating the month names.
ADD TABLE NAME IS OLQFRNCH VERSION IS 1
LANGUAGE IS TABLE
PUBLIC ACCESS IS ALLOWED FOR ALL
TYPE IS CODE
SEARCH IS LINEAR
ENCODE DATA IS ALPHANUMERIC
TABLE IS UNSORTED
DUPLICATES ARE NOT ALLOWED
VALUES ARE (
01 JANVIER
02 FEVRIER
03 MARS
04 AVRIL
05 MAI
06 JUIN
07 JUILLET
08 AOUT
09 SEPTEMBRE
10 OCTOBRE
11 NOVEMBRE
12 DECEMBRE
.
.
.
)
To use a codetable specify the SET CODETABLE command.
Including the date in reports:
You can include the current date in reports by specifying $DATE within a report page header or footer. The current date will be substituted upon display or printing of the report.
|
Copyright © 2013 CA.
All rights reserved.
|
|