17.00 - Multi-Session/PLI/IMS (CLI2MPI) - IBM IMS Interface for Teradata

IBM IMS Interface for Teradata® Reference

prodname
IBM IMS Interface for Teradata
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-2447-220K

This program is a PL/I IMS MPP Conversational program that demonstrates the use of the DBCHWAT routine to perform waits on pending requests.

The waits are scheduled by the application program to allow overlap of database and host processing.

The program performs the following functions:
  • Calls another program (CLI2CTB) to drop/create the table userid.MYTABLE
  • Passes an initialized DBCAREA containing the logon string to the called program
  • Connects multiple sessions
  • Calls DBCHWAT to wait for available request
  • Terminates a request and initiates another request after response parcels have been fetched
  • Disconnects sessions when all transactions are processed.