HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

Sample Java CPI-C Transaction Program
Compiling, Linking, and Running the Sample Program
Chapter 5 329
Leave the default values for other parameters.
Run the application using the Java interpreter java in the normal way.
Use the following command:
java JPing [-s
sym_dest_name
] [-n
num_iterations
] [-d
data_len
]
The -s option indicates the symbolic destination name to be used by the
program. If you do not specify this option, the default is JPING.
The -n option indicates the number of ping iterations to be performed. If
you do not specify this option, the default is 20.
The -d option indicates the number of bytes of data to be sent to the
partner program. If you do not specify this option, the default is 2000.
For more information about how the number of ping iterations and the
data length are used, refer to the description of aping in the SNAplus2
Administration Command Reference.