In order to run the input and output array sample, follow
the instructions below.
Before you begin
- Make sure that you have a clean workspace.
- You need to perform some setup work on the IMS™ server machine, where you want the dfsivf1.mfs MFS program to
execute. These steps are not covered; contact your IMS server administrator for setup instructions
and for connection information to your IMS server.
- Ensure that you have a WebSphere® Application Server v8 or v8.5 installed and a profile
created.
About this task
After you import the sample, you need to change the server
information in the
PhoneBookImpl.java file.
Procedure
- In the Enterprise Explorer view, expand . Right-click PhoneBookImpl.java, and
select .
- In PhoneBookImpl.java, change the
following tag to use your IMS server connection information. Locate the hostname value, and replacetest.ibm.com with the name
of your IMS server. Check the
values datastorename and portnumber, and type your own values in these fields. Press CTRL+S to save.
/**
* @j2c.managedConnectionFactory class="com.ibm.connector2.ims.ico.IMSManagedConnectionFactory"
* @j2c.managedConnectionFactory-property name="dataStoreName" value="dataStore"
* @j2c.managedConnectionFactory-property name="hostName" value="hostname"
* @j2c.managedConnectionFactory-property name="portNumber" value="9999"
* @j2c.connectionSpec class="com.ibm.connector2.ims.ico.IMSConnectionSpec"
* @generated
*/
- In the Enterprise Explorer view, expand . Right-click TestClient.jsp, and select .
- When the browser page opens, click IVTNOMI1:
- When the browser page opens, click IVTNOMI1. In the Inputs section, in the cMD field, type DISPLAY, and in
the nAME1 field, type LAST1. These values are case sensitive. Click Invoke:
Results
You can see the results in the console: