About impacts by changing era name of the Japanese calendar.

Document ID : KB000123516
Last Modified Date : 11/04/2019
Show Technical Document Details
Introduction:
The era name of the Japanese calendar will be changed at 2019.
Question:
The era name of the Japanese calendar will be changed at 2019. So I want to know whether there are any impacts on their Easytrieve by changing era name of the Japanese calendar.
Environment:
MF, z/OS, IBM, FUJITSU, MSP, HITACH, VOS3, Easytrieve V6.4, Easytrieve V6.3
Answer:
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, he should set DATEADJ=17 (if the year of the Western calendar is 2018.)  and rerun the ASM&LNK JOB of the EZTOPT module. (Of course, he must set other parameters together.)

For reference, please see the following Japanese FAQ about this matter.
<https://communities.ca.com/docs/DOC-231176865-%E5%85%83%E5%8F%B7%E5%A4%89%E6%9B%B4%E3%81%AB%E4%BC%B4%E3%81%86%E5%BD%B1%E9%9F%BF%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6>