AS400 Callapi replaces characters '\' with 'Ö' when passing path variables

book

Article ID: 225739

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

An error happens during CALL API submission on AS400:

This script is submitted via CALL API:

=========================================================

:SET &SOURCE_DIR# = '\\XXX\XXXX\XXX\'

:PRINT &SOURCE_DIR#

========================================================

The execution in the Automation Engine (Report LOG):

========================================================

:SET &SOURCE_DIR# = 'ÖÖXXXÖXXXXÖXXXÖ'

:PRINT &SOURCE_DIR#

========================================================

Activity Report (ACT)

========================================================

2021-09-28 17:47:41 - U00020408 ÖÖXXXÖXXXXÖXXXÖ

========================================================

An expected character conversions takes place, '\' are converted to 'Ö' which corrupts the script.

 

Cause

This is a character conversion issue between EBCDIC and ASCII in the AS400 CALL API.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

There is no Workaround at this time for that problem.

A fix will be provided in a near release.