7.2.3 Sample Transaction Programs

The following Oracle Tuxedo Mainframe Adapter for SNA transactional test programs are installed in the ATMI platform installation in the sub-directory TMA/sna/simpapp:

  • simpims.c is a simple ATMI client used to invoke both the sample IMS server programs. It takes a data string and service name as inputs. It invokes the service and passes the input data string.
  • IMPIMSSV.cbl is a simple IMS echo server. It reads data from the IMS message queue and writes the same data in response. It is intended to be used as an implicit SNA example.
  • EXPIMSSV.c is an IMS server transaction using explicit CPI-C calls. It is written for sync level 2 use. The program uses an IBM sample database, IVPDB2. The program displays, adds, and deletes records from the database, based on an input string. Sample input strings are documented in the source.
  • BEAWTOR.asm is an assembler subroutine used by EXPIMSSV.c to write messages to the MVS console log.