# Mainframe Automation using Pega RPA v22

**URL:** <https://forums.pega.com/t/mainframe-automation-using-pega-rpa-v22/9245>\
**Category:** General\
**Tags:** platform, robotics-system-architect, pega-robotic-process-automation, financial-services, robotic-process-automation\
**Created:** [March 27, 2025, 12:16am UTC](https://forums.pega.com/t/mainframe-automation-using-pega-rpa-v22/9245 "2025-03-27T00:16:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PooranCJ](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/poorancj/32/240_2.png) [@PooranCJ](https://forums.pega.com/u/PooranCJ)\
**Post date:** [March 27, 2025, 12:16am UTC](https://forums.pega.com/t/mainframe-automation-using-pega-rpa-v22/9245/1 "2025-03-27T00:16:12Z")

</div>

Hi Team,  
Good day!!

I’m looking for videos, links or documentation to help me automating Mainframe (HOD) application using Pega V-22.

I’m getting an ‘invalid session ID’ error, error while integrating Mainframe, introgration form is not loading.

I’ve verified that the session ID is correctly set to ‘A’ in the HOD Application and that ‘Auto-start HLLAPI’ is also setted “Yes” in the emulator’s settings, for Test Adapter application session is ‘A’.

Please help me here.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ThomasSasnett](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/thomassasnett/32/7690_2.png) [@ThomasSasnett](https://forums.pega.com/u/ThomasSasnett)\
**Post date:** [March 27, 2025, 2:02pm UTC](https://forums.pega.com/t/mainframe-automation-using-pega-rpa-v22/9245/2 "2025-03-27T14:02:20Z")

</div>

@PooranCJ Is your emulator using HLLAPI? If you use a tool like Process Explorer, you can see all of the loaded DLLs in a process. Generally speaking, whichever DLL has “HLLAPI” in its name is what you need to point your text application to.

If you do not have or cannot acquire Process Explorer, you can write an automation to show the loaded DLLs for a given process ID.

I have attached a project I have used before when Process Explorer from Microsoft was not available or was blocked.

[https://docs.pega.com/bundle/robotic-automation-221/page/robotic-automation/creating-automations/text-applications.html](https://docs.pega.com/bundle/robotic-automation-221/page/robotic-automation/creating-automations/text-applications.html)

[https://docs.pega.com/bundle/robotic-automation-221/page/robotic-automation/creating-automations/mainframe-application-automation.html](https://docs.pega.com/bundle/robotic-automation-221/page/robotic-automation/creating-automations/mainframe-application-automation.html)

[Process Explorer.zip](https://forums.pega.com/uploads/short-url/4uBw17naYE0tj7w2oXA7UDwMJmE.zip) (49.5 KB)

---

<div class="post-metadata">

**Author:** ![PooranCJ](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/poorancj/32/240_2.png) [@PooranCJ](https://forums.pega.com/u/PooranCJ)\
**Post date:** [March 28, 2025, 2:33am UTC](https://forums.pega.com/t/mainframe-automation-using-pega-rpa-v22/9245/3 "2025-03-28T02:33:43Z")

</div>

@ThomasSasnett Thanks for quick help Thomas. I will check those, will come back to you if I face any issue.

---

<div class="post-metadata">

**Author:** ![ThomasSasnett](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/thomassasnett/32/7690_2.png) [@ThomasSasnett](https://forums.pega.com/u/ThomasSasnett)\
**Post date:** [March 28, 2025, 12:37pm UTC](https://forums.pega.com/t/mainframe-automation-using-pega-rpa-v22/9245/4 "2025-03-28T12:37:36Z")

</div>

@PooranCJ In rereading your post, you may be starting your interrogation too early. With text applications, you need to launch the app first and then start interrogation. Make sure that if you are connecting to session A that it is up and running before you start interrogation.
