Script Function SYS_LDATE returns 00000000 when a JOBS is restarted
search cancel

Script Function SYS_LDATE returns 00000000 when a JOBS is restarted

book

Article ID: 191195

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Forced traces are generated when  a JOBS is restarted and automatically canceled due to a MRT exceed, forces a trace. 

=====================================================================================
18.09.2019 15:25:52 -  U00003422 WARNING: Cannot load conversation memory '4a732d2c' for server routine 'UCDS_R'.
18.09.2019 15:25:52 -  U00011801 Error in Server routine 'UCDS_R  ', Server: 'UC4T#WP019' AE system: 'UC4T'.
18.09.2019 15:25:52 -  U00020215 Runtime error in object 'JOBS.NAME', line '00003'. The date/timestamp '00000000' is beyond the earliest valid date of the Automation Engine: 01/01/1754.
18.09.2019 15:25:43 -  U00011340 AgentGroup (RunID '1428902177') for Task 'JOBS.NAME' ended abnormally.
18.09.2019 15:25:43 -  U00011054 Job 'JOBS.NAME' (RunID  '1428903025') on Host 'RZBUC4T01' terminated with CANCEL. Remote ID=31714
18.09.2019 15:25:43 -  U00011051 User 'UC/UC' initiated CANCEL for 'JOBS.NAME' (RunID:  '1428903025').
18.09.2019 15:25:43 -  U00011051 User 'UC/UC' initiated CANCEL for 'JOBS.NAME' (RunID:  '1428902177').
18.09.2019 15:25:43 -  U00011545 Max. runtime of task 'JOBS.NAME' (RunID '1428902177') has been exceeded. Task will be canceled or terminated respectively.
=====================================================================================

The JOBS, which is using an Agent Group stuck in status Preparing (). A manual modification is needed to get it out of the Activates.

Environment

Component : AUTOMATION ENGINE Version 12.1

Cause

The Runtime error is caused the Script Function SYS_LDATE that returns 00000000. 

 

Resolution

A problem has been fixed where SYS_LDATE retuned an invalid date when when running in a restarted hostgroup container.

This is bug of the Automation Engine which in 
AE 12.1.8 available
AE 12.2.6 planned to be issued in June 2020
AE 12.3.3 planned to be issued in June 2020
AE 20.0 planned to be issued in October 2020

Additional Information

A problem has been fixed where SYS_LDATE retuned an invalid date when when running in a restarted hostgroup container.