How to open and automate PCOMM Session Using UiPath

I want to be able to open up a PCOMM session and be able to enter in some mainframe commands on that session using UiPath . Can you provide me step by step instructions on how I can accomplish that preferably with Screenshots?

Hi @ronsahota

Use terminal session activity and select IBM provider

And use this as reference

https://www.uipath.com/kb-articles/automating-terminals-and-mainframes?hs_amp=true

Thanks
Ashwin.S

@AshwinS2

Do you know what connection parameters or profile that I should be using to open up the PCOMM session?

Hi @ronsahota

Select provider as IBM

Select show client application as checked if it is third party vendor
Type as hillapi A and address as machine name

Thanks
Ashwin.S

1 Like

@AshwinS2

Here are the steps I performed:

  1. I picked terminal session activity.
  2. In the configure Connection I selected the following options
    Provider: IBM EHLLAPI
    Checked box for Show Client Application
    EHLL Function: hllapi
    EHLL Session: A
    EHLL Encoding: Default
    EHLL Enhanced: Checked

But where do I find the EHLL DLL file? Without it I cannot proceed with the configuration of the terminal connection.

Here is screenshot for your reference.
screenshot

Kindly advise if I am following the right steps to establish PCOMM connection and from where can I find the EHLL DLL file?

Hi @ronsahota

All perfect except dll you need to

Thanks
Ashwin.S

@AshwinS2

I was able to successfully establish PCOMM connection and able to automate mainframe steps by using IBM EHLLAPI provider. I was able to locate the pcshll32.dll file under
C:\Program Files (x86)\IBM\Personal Communications

In summary I configured the connection by filling out the following parameters:

Provider: IBM EHLLAPI
Show Client Application is checked
Attach to an existing session
EHLL dll is C:\Program Files (x86)\IBM\Personal Communications\pcshll32.dll
EHLL function is hllapi
EHLL session: A
EHLL Encoding: Default
EHLL enhanced is checked

Once I established PCOMM terminal connection I followed the instructions outlined in the following link.

https://www.uipath.com/kb-articles/automating-terminals-and-mainframes?hs_amp=true

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.