cancel
Showing results for 
Search instead for 
Did you mean: 

Mainframe - Rocket Passport - Attach

YuliTan
Level 3
Hi,

I'm trying to automate mainframe application. I wanna go with multi object design where I have 3 different objects for the same application: Object A, Object B, Object C.
Object A: Launch, XXX, YYY,....
Object B: Attach, AAA, AA1,....
Object C: Attach, BBB, BB1,....

Any idea if this is achievable for mainframe? how to do attach since there is no "Attach" function?




------------------------------
Yuli Ekawati Tan
Senior Consultant
Asia/Singapore
------------------------------
8 REPLIES 8

Hi Yuli Ekawati,

You should be able to attach using Navigate stage with Launch action with the same session identifier as was used to launch the mainframe session.


------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------

Hi, 
 Thanks for the reply.
Where should I define the session identifier in BP?
I don't see anything under "Input" of Navigate Stage.
Only have Path, Process Mode, Options.


------------------------------
Yuli Ekawati Tan
Senior Consultant
Asia/Singapore
------------------------------

Hi Yuli Ekawati,

I see. Some of the parameters might be different depending on the type of emulator. However are you able to pass in the session file path(*.zws) in the "Path" parameter and attach to your mainframe session?


------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------

Hi,

Am unable to do that too.
I got the error, not connected. Unable to attach using Launch.
Do you have other workaround?

------------------------------
Yuli Ekawati Tan
Senior Consultant
Asia/Singapore
------------------------------

Hi 

In the object definition you are adding attach in objects B and C can this be placed in object A and called from B and C? also are you using a shared application model from object A for objects B and C? 

Doing this should help you with the issue you're having, running an attach(navigate stage) from B and C will likely be having a problem because it was A that launched it. By adding attach to object A then use an action stage to run this from the other objects you should find it easier to attach. It is also a good approach to lump similar actions within the same object so as rule I would always create my first object with Launch, Attach, Terminate in a single object then for objects shared the application model which allows me to build within and use that model. Also this should save you having to duplicate actions throughout other objects.

Hope this helps 🙂

------------------------------
Michael ONeil
Technical Lead developer
Everis Consultancy
Europe/London
------------------------------

Hi Michael,

Yes, my Object A contain Basic Action of Attach, Launch, Login and Logout.
I tried your suggestion to call Attach created in Object A via Object B, but it doesn't work.
Attach is working fine if I run it from Object A itself, but unable to attach when I call it via Object B.

Btw, I am using Mainframe - Rocket Passport in application modeller for both Object A and B.









------------------------------
Yuli Tan
Senior Consultant
Asia/Singapore
------------------------------

Hi Michael,

It worked, have some wrong setup just now.
Thank you very much for your help.
Thank as well Kumar for your reply too.
------------------------------
Yuli Tan
Senior Consultant
Asia/Singapore
------------------------------

Hi 

Sorry for the late reply I'm glad you have it sorted now 🙂

------------------------------
Michael ONeil
Technical Lead developer
Everis Consultancy
Europe/London
------------------------------