How to manipulate new EHLL API delivered with ACSLAUNCH_WIN-32.EXE (IBM ISeries / AS400)

Due to Win10 migration, we have to change our IBM session (from Client Access to acshod emulator in Java)

I tried many configuration (based on different documentation from the web) and I didn’t find a solution.

I have installed EHLLAPI as explain here :

then I tried to follow theses steps from the uiPath Forum : Main frame automation(ibm as400)

At this point I have 3 steps to open a session :

  1. kill all process ACSLAUNCH (to be sure that no older activities are still runnning)
  2. start “C:\Users\Public\IBM\ClientSolutions\Start_Programs\Windows_i386-32\acslaunch_win-32.exe”"/PLUGIN=PCS -vm ““C:\Program Files (x86)\Java\jre1.8.0_171"””
  3. start “C:\Users\Public\IBM\ClientSolutions\Start_Programs\Windows_i386-32\acslaunch_win-32.exe” “C:\Users\xxxxx\Documents\IBM\iAccessClient\Emulator\Private\Wsfiles\SESSION_AS400_D.hod”

After that, I use a terminal session activity with this connectionString :
“{‘AttachExisting’:false,‘ConnectionType’:0,‘EhllBasicMode’:false,‘EhllDll’:‘C:\Program Files (x86)\IBM\EHLLAPI\EHLAPI32.dll’,‘EhllEnhanced’:true,‘EhllFunction’:‘hllapi’,‘EhllSession’:’’,‘Host’:null,‘Mode’:1,‘Port’:23,‘Profile’:‘C:\Users\xxxxxx\Documents\IBM\iAccessClient\Emulator\Private\Wsfiles\SESSION_AS400_D.hod’,‘ProviderType’:1,‘ShowTerminal’:true,‘TerminalType’:0}”

I get this error : “Terminal Session: There was an error connecting to terminal. Error code: ErrorCreatingTerminalProxy”

Who can help me ?


I dont think it works with the profile. When you remove that does it work?


I previously implemented automation on this type of mainframe
configuration i tried is installed EHLL API.
where we need to run Terminal in background.
uipath gets connected to terminal and runs