Inquiry parameter processing
The INQ parameter is only checked when the IMS transaction issues a Create Thread exit routine.
The INQ parameter on subsequent transactions is not checked. Therefore, if any updates are to be done in a Fast Path region between the Create Thread exit routine and the Terminate Thread exit routine, the inquiry flag in the first transaction must be INQ=NO.
For example, if the first transaction that calls Db2 for z/OS® from a given Fast Path region is only going to read the Db2 for z/OS data and not update it, the transaction will set the INQ=YES flag in the Create Thread Parameter list indicating that this first transaction and all subsequent transactions in that Fast Path region are treated as inquiry only transactions. If a subsequent transaction running under the same Fast Path region calls Db2 for z/OS for update, the thread to that Fast Path region will still be set to INQ=YES, even though the transaction is correctly defined as INQ=NO. This will result in an SQLCODE817 error.