Use the third page of the Program Call wizard to set the authentication and runtime configuration values for the iSeries programs and procedures called from your Java or Web application.
A runtime configuration file with all your settings is generated and placed in the source folder of the Java project. By default, all the Java beans generated from the PCML file will use the same file for their runtime configuration, and the file is called defaultPCW.config. You can override this file by generating your own configuration file which can apply to one or more Java beans in your project.
The generated Java bean, by default, looks for the runtime configuration file in the class path. If the file is found, the Java bean uses the runtime settings in the file. If the file is not found, the client application has to set the runtime properties for the Java bean. However, even if the file is found, the client application can override the settings in the file by using the corresponding methods of the generated Java bean.
Additional considerations
In addition to using this page of the Program Call wizard to define authentication and runtime values, you need to ensure that host servers are running on your iSeries host. The servers are *SRVMAP, *CENTRAL, *RMTCMD, and *SIGNON.
You start a host server with the STRHOSTSVR command. For example, enter STRHOSTSVR *RMTCMD to start the *RMTCMD server. To start all host servers, use the command STRHOSTSVR *ALL.
To test iSeries Web applications in the WebSphere Test Environment, you need a TCP/IP connection to your iSeries host, and the user profile QUSER must be enabled.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.