All special characters are wrongly printed in the AE Reports of a CallAPI job.
When a CallAPI script with the following content is executed:
================================================
0001.00 :SET &SOURCE_DIR# = "\\@@@@ööö\ÖÖÖÖ\XXX\"
0002.00 :PRINT &SOURCE_DIR#
0003.00 :PRINT "ÖÖööääÄÄüüÜÜ"
================================================
The result in AWI will be the following
================================================:
:SET &SOURCE_DIR# = "ÖÖ§§§§ŠŠŠÖ\\\\ÖXXXÖ"
:PRINT &SOURCE_DIR#
:PRINT "
ŠŠ{{[[}}]]"
================================================
An unexpected conversion of special characters takes place between german characters as Ö,ö,ä,Ä,ü,Ü.
Release : 12.3 Component : AUTOMATION ENGINE
This is a bug of the AS400 Call API
In the AS400 agent call api, a fix has been delivered for that issue. The fix requires the use of the newly introduced configuration parameter CODETABLE to force specific character set during the execution.
Depending on your configuration, please set 'CODETABLE=EBCDIC_00037' (ASCII code table) or 'CODETABLE=EBCDIC_00273' (Latin-1 Supplement) in the [GLOBAL] section of the Call API's ini-file.
This parameter will be documented.
The fix is available in the following versions the AS 400 Agent
Automation.Engine 12.3.7 HF1 -- available
Automation.Engine 12.3.8 -- available
Automation.Engine 21.0.1 -- avallable