The PREP_PROCESS_REPORT script fails to retrieve data when the system language is set to anything other than English.
search cancel

The PREP_PROCESS_REPORT script fails to retrieve data when the system language is set to anything other than English.

book

Article ID: 425886

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine Automic SaaS

Issue/Introduction

When the AWI logon language is set to German or French, the PREP_PROCESS_REPORT function fails to retrieve results.

Example script in Post-Process logon language English:

 

:SET &HND# = PREP_PROCESS_REPORT(,,"REP","*Files selected*")
:PROCESS &HND#
:   SET &RET# = GET_PROCESS_LINE(&HND#)
:   PRINT &RET#
:ENDPROCESS

Report:

2026-01-19 21:13:52 - U00063089 FT '2508006': Files selected: '10'.

Post-Processing:

2026-01-19 21:13:54 - U00020408 20260119/131352.000 - U00063089 FT '2508006': Files selected: '10'.

Example script in Post-Process logon language German:

:SET &HND# = PREP_PROCESS_REPORT(,,"REP","*Dateien ausgewählt*")
:PROCESS &HND#
:   SET &RET# = GET_PROCESS_LINE(&HND#)
:   PRINT &RET#
:ENDPROCESS

Report:

2026-01-19 21:18:35 - U00063089 FT '2509004': Dateien ausgewählt: '10'.

There is no post-processing available.

Environment

Automic Automation Engine 24.4.X

Cause

Configuration.

Resolution

PREP_PROCESS_REPORT only considers the first language specified in the ucsrv.ini under the parameter LANGUAGE=, e.g.

; language: The Language(s) in which the log messages are displayed.Always a pair of languages separated by comma enclosed in brackets. 
; if a message text is not available in the primary language the secondary language will be taken.
; E - english
; D - german
; F - french
;
LANGUAGE=(E,D)

 This information is further detailed in the official documentation.

Notes:

  • The report is saved in the same language as the Automation Engine logging.