The era name of the Japanese calendar will be changed at 2019. Are there any other impacts for Easytrieve Report Generator programs by changing era name of the Japanese calendar?
The DATEADJ parameter adjusts the year of the SYSDATE field. If you set the effective number except for zero to the DATEADJ parameter, the set value is subtracted from the year of the system date and set the subtracted result to the year of the SYSDATE.
If DATEADJ=88 is set, the year of the SYSDATE is set as 30. The current year of the Japanese calendar is Heisei 30. So, as the result, the year of the Japanese calendar is shown If DATEADJ=88 is set.
The explanation of the DATEADJ parameter in the Reference Guide:
***********************************************
DATEADJ=nnnn
This option indicates a base year used to calculate the adjusted system date. The system date is read and the current century is added to the year value in the system date. This year value is then reduced by the year coded as the DATEADJ value, giving a year that is used as the YY portion of the SYSTEM-DATE. For example, a year value of 1985 is calculated to be year 30 if DATEADJ is set to 1955.
Valid values for this option are 0 to 9999. If the result of the calculation results in a negative number, then a value of zero is used for the year portion of the system date. Should the year value exceed 99, then the last two bytes are used for the year portion of the system date. No override is available.
Default: 0
********************************************
So, you should check the DATEADJ parameter in your Option table(EZTPOPT). Or, you should check your output result of the SYSDATE field by the executing the following EZTPLS program.
//SYSIN DD *
JOB INPUT NULL
DISPLAY '### SYSDATE =' SYSDATE
STOP
/*
If the year of the SYSDATE shows the year of the Japanese calendar, some impacts may be taken.
If you want to reset the year of the SYSDATE field as 1, please set DATEADJ=17 (if the year of the Western calendar is 2018.) and rerun the ASM&LNK JOB of the EZTOPT module. (Of course, other parameters must still be set together.)