synjtpn - Extended ECI_SYNC_TPN Calls

This program tests the call type eci_sync_tpn for extended eci calls and multiple LUWs.

The program is based on synj001 which uses eci_sync calls instead.

Note: tpn is currently not supported on Unix platforms as these platforms only support ECI_VERSION_V1 rather than _V1A (as of 1/1/98)

Testing should include:

  1. Issuing the calls using the default transid CPMI.
  2. Issuing the calls specifying your own transid. You must define your own transid in the server. For example, on CICS for OS/2 CPMI runs program FAAMIR; therefore you can define your own transid, eg MYMI, to call program FAAMIR. The example below shows how to override CPMI with MYMI. Note that the value of transid is case-sensitive.
  3. Testing with a mirror less than 4-characters in length.
  4. With a transid undefined on the server. The _tpn calls should abend, but the following non-tpn calls should use the default CPMI transid and work successfully.

synjtpn is a Java application that on each requested iteration issues sets of six ECI synchronous calls for each LUW. The first two calls are followed by an ECI_BACKOUT. The fourth and fifth calls are followed by an ECI_COMMIT. The commarea on each call is initialised to 18 dashes. The server returns the current date and timestamp. The default CICS server program is the supplied SRVTIME which is compatible on all CICS servers. If desired, a different server program can be supplied as an input parameter to this application.

This program contains no data conversion for the commarea. Data conversion should be carried out on the server, if required.

Issue "synjtpn -?" for help and default settings.

Sample Input

java jgtest.eci.synjtpn -t

Sample Output

synjtpn - Extended ECI_SYNC_TPN Calls -j JGate -> hollings -r JGate port -> 2006 -list list systems only -> false -s CICS server -> (not specified) -a application -> SRVTIME -tran transid -> MYMI -luw # concurrent luws -> 1 -i # iterations -> 1 -u userid -> SYSAD -p password -> SYSAD -d delay -> 0 seconds -x exit on ECI error -> false -! debug -> false -? Display settings only --- synjtpn started 11/06/98 14:33 --- Successfully created JavaGateway connection --- --- Using CICS Region: NETBTCLR --- Iteration: 1 of 1 using ECI_SYNC_TPN calls # LUW Mirror Extend-Mode Commarea Data Length CICS Rc Abend LUW Token - --- ------ ----------- ------------- ------ ------- ----- --------- 1 1 MYMI ECI_EXTENDED 11/06/98 15:33:39 18 0 2 2 1 MYMI ECI_EXTENDED 11/06/98 15:33:40 18 0 2 3 1 MYMI ECI_BACKOUT ----------------- 18 0 0 4 1 MYMI ECI_EXTENDED 11/06/98 15:33:40 18 0 2 5 1 MYMI ECI_EXTENDED 11/06/98 15:33:41 18 0 2 6 1 MYMI ECI_COMMIT ----------------- 18 0 0 ... isTPNTransid returns: true --- Successfully closed JavaGateway connection --- --- synjtpn completed 11/06/98 14:33 --- Calls successful ... 6 out of 6 --- Iterations run ..... 1 out of 1

History Log: