Temporary storage EXEC interface program exits XTSEREQ and XTSEREQC

The XTSEREQ exit allows you to intercept temporary storage API requests before any action has been taken on the request. The XTSEREQC exit allows you to intercept the response after a temporary storage API request has completed.

The API requests affected are:
  • EXEC CICS WRITEQ TS
  • EXEC CICS READQ TS
  • EXEC CICS DELETEQ TS.
Using XTSEREQ, you can:
  • Analyze the API parameter list (function, keywords, argument values, and responses)
  • Modify any input parameter value before execution of a request
  • Prevent execution of a request.
Using XTSEREQC, you can:
  • Analyze the API parameter list
  • Modify any output parameter value after request completion.
You can also:
  • Pass data between your XTSEREQ and XTSEREQC exit programs when they are invoked for the same request
  • Pass data between your temporary storage exit programs when they are invoked within the same task.

It is possible that programs invoked from the exits in the temporary storage domain (XTSQRIN, XTSQROUT, XTSPTIN, and XTSPTOUT) could modify situations set up by XTSEREQ; therefore you must consider the order in which the exits are invoked.

If all the temporary storage exits are enabled, the order of invocation is as follows:
  1. XTSEREQ
  2. XTSQRIN
  3. XTSQROUT
  4. XTSEREQC