This chapter explains how to make a CICS DB2 application threadsafe, so that it can continue running on an L8 task control block (TCB) after a DB2 command is run. The same principles apply for an application that calls one of the other OPENAPI task-related user exits (TRUEs), such as WebSphere MQ and IP sockets for CICS.
This chapter addresses three different areas to investigate before defining an application as threadsafe:
•Use of nonthreadsafe local code
•Use of shared resources
•Use of nonthreadsafe CICS commands
The chapter ...