ecijnls - Send and Check NLS Data

This application sends NLS data found in a data file that is also accessible by the CICS server (eg on a LAN drive) to check that the data has been sent correctly. The data is sent using an ECI commarea.

The fixed CICS server application SRVNLS reads the first four characters of the incoming commarea. This contains the name of the extrapartition TDQ that CICS (eg CICS for OS/2 v3) must have defined pointing to the same LAN file as specified by the -file option during the Java program invocation.

The data received by the CICS server program in the commarea is compared to the data read by CICS of the lan file (pointed to by the extrapartition dataset). If the data matches, the call is deemed successful.

Parameters can be overridden via command line.

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

Sample Input

java jgtest.nls.ecijnls -j local: -file T:\SVT\AXH\NLS\NLS-US.DAT

Sample Output

ecijnls - Send and Check NLS Data -j JGate -> local: -r JGate port -> 2006 -list list systems only -> false -s CICS server -> (not specified) (fixed) application -> SRVNLS -file data file -> t:\svt\axh\nls\nls-us.dat -i # iterations -> 1 -u userid -> SYSAD -p password -> SYSAD -d delay between iterations -> 0 seconds -x exit on ECI error -> false -! debug -> false -? Display settings only --- ecijnls started 18/06/98 17:09 --- Successfully created JavaGateway connection --- --- Using CICS Region: NETBTCLR I/O: File t:\svt\axh\nls\nls-us.dat opened .. reading in data .. I/O: File t:\svt\axh\nls\nls-us.dat closed # Flow Commarea-Data 1-30 Length CICS Rc Abend -- -------- ------------------------------ ------ ------- ----- 1 --> Sent NLUS Top Line - Do Not Change 40 1 <-- Rcvd TDQ found 40 0 null 1 --> Sent NLUS First line of NLS data 27 1 <-- Rcvd Data matched! 27 0 null 1 --> Sent NLUS Line2 10 1 <-- Rcvd Data match 10 0 null 1 --> Sent NLUS Third line 15 1 <-- Rcvd Data matched! 15 0 null 1 --> Sent NLUS Fourth and final line 26 1 <-- Rcvd Data matched! 26 0 null --- Successfully closed JavaGateway connection --- --- ecijnls completed 18/06/98 17:09 --- Calls successful ... 5 out of 5 --- Iterations run ..... 1 out of 1

History log: