Possible to switch CICS region at run time.
Possible to switch CICS region at run time.
Hi,
We have a CICS region, CICSABCD. For some time there had been job abends as this region has got connectivity issues. Support team had been looking for to correct it. Though this problem makes me think that can we at run time see, if there is another CICS region available for connectivity and connect to that OR if this region is available or not and not let the jobs abend? There are EXEC DPL commands which try to connect to this region using program which causes the issues.
We have a CICS region, CICSABCD. For some time there had been job abends as this region has got connectivity issues. Support team had been looking for to correct it. Though this problem makes me think that can we at run time see, if there is another CICS region available for connectivity and connect to that OR if this region is available or not and not let the jobs abend? There are EXEC DPL commands which try to connect to this region using program which causes the issues.
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Possible to switch CICS region at run time.
Most of the time, a connection is made to a particular CICS region because it has the resources (programs, files, transactions) defined for the application. Connecting to a different CICS region would make absolutely no sense if these resources are not available to the different region. If the resources are available to the different region, then yes you could connect to the different region when you cannot connect to the original region -- if the API supports this. I haven't used EXEC DPL commands before, so I have no idea what the API supports.
Re: Possible to switch CICS region at run time.
Is there a command to switch the region in CICS?Robert Sample wrote: ↑Tue Oct 09, 2018 5:36 pmMost of the time, a connection is made to a particular CICS region because it has the resources (programs, files, transactions) defined for the application. Connecting to a different CICS region would make absolutely no sense if these resources are not available to the different region. If the resources are available to the different region, then yes you could connect to the different region when you cannot connect to the original region -- if the API supports this. I haven't used EXEC DPL commands before, so I have no idea what the API supports.
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Possible to switch CICS region at run time.
I reiterate:
So I have no idea if EXEC DPL has a command to switch the region in CICS. Once you're connected to a particular CICS region, it is vanishingly rare to need to change the region -- my thought is that if the API supports this, there will be commands to do so. But more likely the program determines which region to connect to BEFORE making the connection, and without completely starting over it would not be possible to change the region -- but as I said, I have no idea what the API supports.I haven't used EXEC DPL commands before, so I have no idea what the API supports.
Re: Possible to switch CICS region at run time.
Thanks.
Are you calling DPL as API? Is there a reason to call it like that?
Are you calling DPL as API? Is there a reason to call it like that?
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Possible to switch CICS region at run time.
API is Application Programming Interface -- the term applies to a variety of command sets (EXEC CICS commands, for example, are an API).
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute