dlyj001 - ECI Synchronous Calls with Delayed Responses
dlyj001 is a Java application that issues synchronous requests
to the CICS server application DLYTIME. The user can specify a
number of seconds (by the -hold input parameter) to request the
server to delay sending the response. This is particularly useful
when testing 'timeout' scenarios, and in restart/recovery testing.
The fixed CICS server application DLYTIME reads the first three
characters of the incoming commarea and issues an EXEC CICS DELAY
for the requested number of seconds (see Sample Output below).
In some restart/recovery scenarios the CICS return code may be zero,
although a timeout may have occurred in the JGate. Therefore the
output also shows the JGate return code which will be non-zero if
a timeout/error occurred in the JGate.
This program contains no data conversion for the commarea.
Data conversion should be carried out on the server, if required.
Parameters can be overridden via command line.
Issue "dlyj001 -?" for help and default settings.
Sample Input
java jgtest.eci.dlyj001 -hold 5 -i 3
The sample input requests each ECI synchronous call to have a five
second delay (-hold 5) in the server application (DLYTIME). The
application iterates three times (-i 3).
Sample Output
dlyj001 - ECI Synchronous Calls with Delayed Responses
-j JGate -> hollings
-r JGate port -> 2006
-list list systems only -> false
-s CICS server -> (not specified)
(fixed) application -> DLYTIME
-i # iterations -> 3
-u userid -> SYSAD
-p password -> SYSAD
-d delay between ECI calls -> 0 seconds
-hold delay server response -> 005 seconds
-x exit on ECI error -> false
-! debug -> false
-? Display settings only
--- dlyj001 started 12/06/98 07:27
--- Successfully created JavaGateway connection ---
--- Using CICS Region: NETBTCLR
# ECI Flow Commarea-Data Length CICS Rc JGate Rc Abend
--- ------------ ------------- ------ ------- -------- -----
1 Outbound --> 005 seconds delay 18
1 Inbound <-- 12/06/98 08:27:13 18 0 0 null
2 Outbound --> 005 seconds delay 18
2 Inbound <-- 12/06/98 08:27:18 18 0 0 null
3 Outbound --> 005 seconds delay 18
3 Inbound <-- 12/06/98 08:27:24 18 0 0 null
--- Successfully closed JavaGateway connection ---
--- dlyj001 completed 12/06/98 07:27
--- Calls successful ... 3 out of 3
--- Iterations run ..... 3 out of 3
History log:
- Written : Apr 98 - Alan Hollingshead (AH) - uses common classes
- Written : Jul 98 - AH - added JGate return code