Unable to disconnect Existing Mainframe connection and Relogin the mainframe Connection during system exception

Hi Team,

I’ve implemented mainframe automation using terminal activities to launch the mainframe application, passing an existing terminal connection to access all workflows.

I need to handle system exceptions such that, upon encountering an exception, the mainframe Existing connection disconnects and then reconnects.

Although I have attempted to manage this in ReFramework set up, it is not functioning correctly. Kindly provide assistance on this issue.

@shyamala_shyamu

Can you please tell what is not functioning?

Like what issue are you facing and where

Cheers

@Anil_G

If system exception occur means it needs to disconnect the exiting mainframe connection and need to re login the mainframe.

I have handled this in close all applications but it does not working.Kindly assist me in this.

@shyamala_shyamu

In close you might be closing the connection…where are you restarting it? And are you passing the new connection again?

We need to see the setup to know why it is not working

Is it failing? Or the connection is not changing?

Cheers

@Anil_G

Thanks for the response.

In close all application I’m trying to close the connection and then bot tried to login the mainframe application in the Initialization state.

It does not disconnect the existing connection in Close all application so it’s failing in relogin part in initialization state.

Kindly help me in this.

@shyamala_shyamu

so what error are you getting?

and are there any other activities in close all?

also make sure existing connection variable is set to nothing after closing connection

cheers

1 Like

@Anil_G

I will try this and will update you.

1 Like

@Anil_G

Now It’s working fine. Thank you so much for your help…

1 Like

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