synj0c3 - Detect Maximum Commarea Length
synj0c3 issues non-extended ECI synchronous calls incrementing
the commarea length until the maximum length (governed
by CICS server and/or communication protocol) has been reached.
This program contains no data conversion for the commarea.
Data conversion should be carried out on the server, if required.
Issue "synj0c3 -?" for help and default settings.
Sample Input
java jgtest.eci.synj0c3 -cmlen 32700 -+
Sample Output
synj0c3 - Detect Maximum Commarea Length
-j JGate -> hollings
-r JGate port -> 2006
-list list systems only -> false
-s CICS server -> (not specified)
-cmlen initial commarea length -> 32700
-+ increment commarea length -> true
-i # iterations -> 1
-a application -> SRVTIME
-u userid -> SYSAD
-p password -> SYSAD
-d delay between iterations -> 0 seconds
-! debug -> false
-? Display settings only
--- synj0c3 started 11/06/98 12:34
--- Successfully created JavaGateway connection ---
--- Using CICS Region: CICSOS2
Iteration Commarea Data (18) Was/Is Length CICS Rc Abend
--------- ------------------ ------------- ------- -----
1 11/06/98 13:34:59 32700 32714 0
1 32700 32715 -1 AXTL
--- Successfully closed JavaGateway connection ---
--- synj0c3 completed 11/06/98 12:35
--- Calls successful ... 15 out of 16
--- Iterations run ..... 1 out of 1
--- synj0c3 : largest commarea sent successfully: 32714
The above example issues the first non-extended ECI synchronous call with
commarea length 32000, and then further ECI calls incrementing the
commarea length by one each time until an abend occurs (usually the
maximum commarea size, plus one.).
The commarea length is reset to the initial commarea length (-cmlen) upon
the start of each new iteration.
The maximum commarea size varies according to the CICS server and
communication protocol being used (ie SNA, NetBIOS, TCP/IP or named pipes).
Initial commarea size should be 18 or more characters in length
otherwise the commarea is not large enough to return a date and timestamp.
History log:
- Written : Jun 97 - Alan Hollingshead
- Updated : Apr 98 - new format using common classes