Page 1 of 1

Test condition to bring down and up the CICS region.

Posted: Mon Feb 26, 2018 6:37 pm
by BobP
Hi,

There is a requirement which requires to issue a print as soon as the CICS region is brought up. Is there a way to really create a test case for such a situation, I mean apart from really bringing down or up the region, what can be possible way to do it? Can region up/down be mimicked?

Re: Test condition to bring down and up the CICS region.

Posted: Mon Feb 26, 2018 7:34 pm
by Robert Sample
The region being up or down is not something easily tested. I recommend using a PLT program that CICS will execute during the start up processing to do the print.

Re: Test condition to bring down and up the CICS region.

Posted: Mon Mar 19, 2018 11:46 am
by BobP
Thanks Robert for the reply. I read about PLT program and it is not easy to understand it. Will have more questions.

We have invoked the TRAN directly and experimenting if it if working as per test cases.

Re: Test condition to bring down and up the CICS region.

Posted: Mon Mar 19, 2018 5:07 pm
by Robert Sample
I read about PLT program and it is not easy to understand it.
There is not much needed for understanding -- the PLT programs are executed during CICS start up or during CICS shut down. Since you want to use a CICS resource, you must create a second phase PLTPI program and the coding for it is no different than other CICS programs. What else do you need to know to do what you want?