I am trying to automate an IBM iSeries 5250 terminal session using UiPath Terminal Activities and am running into a “Language settings incorrect” error after logging in, as shown in the attached screenshot.
The required connection parameters are:
Screen Size: 27x132
Host Code-Page: 285 (United Kingdom EBCDIC)
I am primarily using the “UiPath Internal” (Direct Connection) provider as recommended for built-in reliability. However, I cannot find an explicit option to specify the Host Code-Page (CCSID) in either the connection wizard UI or the generated connection string.
My questions are:
Where can I specify the Host Code-Page: 285 setting when using the “UiPath Internal” Direct Connection provider?
Is there a specific parameter that can be added to the connection string to enforce the correct code page mapping?
Any guidance on how to resolve this configuration issue would be greatly appreciated. The current incorrect character display is preventing the automation from proceeding past the initial login screen.
@ppr thanks for your quick reply, but as @sekou.keita mentioned we tried what you recommended and, that was of no help. Basically we’re based in the UK and our development environment/VDI/RDP is hosted on Swedish server, that is most probably the cause of the issue. Because it says “Language settings incorrect” and we’re setting the language as 00285 which is English UK and the terminal is still having it’s language set as 00278 is Swedish.
Hi, as we suspected, our Mainframe Core Developers have confirmed that the UiPath Emulator Device CCSID is set to 0278 (Swedish) while the Job CCSID is set to 0285 (English) create the issue. However using the UiPath emulator and the connection strings we have no known way of changing this. Any thoughts?
UiPath Internal provider doesn’t let you set CCSID/code page. The error comes from IBM i language mismatch.
set the IBM i user profile/session to CCSID 285 and correct language (test in a normal 5250 emulator).
If you need to force CCSID from UiPath, use an external 5250 provider instead of Internal.