Page 1 of 1

Converting CICS Program to API?

Posted: Fri Jun 11, 2021 6:56 pm
by Rohit Jain
As part of one of the issue in our production environment, the description goes like this:

"This is an issue with a screen program being converted to an API with high throughput. In this case, PGM1 is linked to from PGM2 to create the email. Because two PGM2 can simultaneously run writing to the same TSQ, when PGM2 deletes the queue for the first instance and PGM1 is linked for the second instance, the queue is not found. The program was designed to run from a screen so only 1 instance is possible at a time."

My question is, how can we convert an existing CICS COBOL program to an API? Is it possible?