2. This program assumes the first command line parameter is the
name of the server. If a parameter is passed to the program, the
setSystemName method of the AS400 object is used to set
the system name. The AS400 object also needs sign-on information:
- If the program is running on a workstation, the IBM Toolbox for Java program
prompts the user
for a user ID and password. Note: If a system name is not specified as a
command line parameter, the AS400 object also prompts for the system name.
- If the program is running on the iSeries Java Virtual Machine (JVM), then
the user ID and password of the user running the Java program is used.
In this case, the user does not specify a system name, but lets the system name default
to the name of the system that the program is running on.