絶対時間 (CICS)

絶対時間 (CICS)

[1] IBM Knowledge Center - ASKTIME () <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_4.1.0/com.ibm.cics.ts.applicationprogramming.doc/commands/dfhp4_asktime.html>

[2] IBM Knowledge Center - CICS の Atom フィード: CICS API の変更点 () <https://www.ibm.com/support/knowledgecenter/ja/SSGMCP_4.1.0/com.ibm.cics.ts.whatsnew.doc/web20/dfhe4_api.html>

[3] IBM Knowledge Center - ASKTIME () <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_4.1.0/com.ibm.cics.ts.applicationprogramming.doc/commands/dfhp4_asktime.html>

Specifies the data area for the number of milliseconds since 00:00 on 1 January 1900, which is known as absolute time. The time is taken from the system time-of-day clock, adjusted for leap seconds and to apply the local timezone offset (including daylight saving time), truncated to the millisecond, and returned as a packed decimal of length 8 bytes.

[4] IBM Knowledge Center - CICS の Atom フィード: CICS API の変更点 () <https://www.ibm.com/support/knowledgecenter/ja/SSGMCP_4.1.0/com.ibm.cics.ts.whatsnew.doc/web20/dfhe4_api.html>

ABSTIME 値は EXEC CICS ASKTIME コマンドによって戻されますが、直近の 1/100 秒に丸められることはなくなりました。戻される絶対時刻はシステム時刻クロックで、うるう秒とローカル時間帯オフセットを考慮に入れて調整されます。さらに、ミリ秒に切り捨てられ、長さ 8 バイトのパック 10 進数として戻されます。そのため、ローカル時間帯で 1900 年 1 月 1 日の 00:00 以降のミリ秒単位の数値を表し、夏時間調整時刻用に調整されています。

[5] IBM Knowledge Center - EXEC CICS CONVERTTIME () <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.1.0/com.ibm.cics.ts.applicationprogramming.doc/commands/dfhp4_converttime.html>

ABSTIME format gives the time, in packed decimal, since 00:00 on 1 January 1900. The time is given in milliseconds, and it is always truncated, never rounded up. The FORMATTIME command can be used to change this data into other formats.