446 IMS Connectivity in an On Demand Environment: A Practical Guide to IMS Connectivity
9. The options that you specified are displayed in the “Step 7: Summary of the Install New
Application wizard” panel, as shown in Figure 21-39. Verify that the options are correct,
and then click
Finish. A message is displayed that indicates first that the imsjavaRDS
application is being installed, and then that the installation was successful.
Figure 21-39 Summary of the Install New Application wizard
10.Click Save to Master Configuration. The Save page opens. Under Save to Master
Configuration, click
Save.
21.5.3 Step 3: Installing the metadata class for the sample application
We use IMS IVP application (DFSIVP37) for our sample Web application; therefore, we need
the metadata class from the DFSIVP37 PSB source and IVPDB2 DBD source. We already
discussed the sample metadata class creation in 21.3.1, “Example of using the DLIModel
utility” on page 422 with these PSB/DBD sources. In this section, we introduce how to set the
WebSphere Application Server for z/OS classpath to the location of your metadata classes.
Before adding the classpath, we compile the metadata source file and create the JAR file by
using the command shown in Example 21-23 on our UNIX System Services environment.
Example 21-23 Compile the metadata source and create the JAR file
JOUKO2 @ SC53:/u/jouko2>javac imsrds/*.java
JOUKO2 @ SC53:/u/jouko2/>jar -cvf imsrds.jar ./imsrds/*
added manifest
adding: imsrds/@dlictl(in = 601) (out= 274)(deflated 54%)
adding: imsrds/DFSIVP37DatabaseView.class(in = 1208) (out= 605)(deflated 49%)
adding: imsrds/DFSIVP37DatabaseView.java(in = 1279) (out= 517)(deflated 59%)
adding: imsrds/DFSIVP37DatabaseViewJavaReport.txt(in = 437) (out= 212)(deflated 51%)
adding: imsrds/META-INF/(in = 0) (out= 0)(stored 0%)
adding: imsrds/META-INF/MANIFEST.MF(in = 62) (out= 61)(deflated 1%)
adding: imsrds/imsrds.jar(in = 2495) (out= 2055)(deflated 17%)
Chapter 21. IMS Remote Database Services 447
One way to set the classpath is to add the metadata class to the IMS JDBC resource adapter
classpath by performing the following steps:
1. From the WebSphere Application Server for z/OS administrative console, click
Resources, and then click Resource Adapters. This displays a list of resource adapters,
as shown in Figure 21-40.
Figure 21-40 List of resource adapters
2. Click the name of the IMS JDBC resource adapter. A configuration panel opens, as shown
in Figure 21-41. In the Class path field, add your location of metadata class. In our case,
the location is /u/jouko2/imsrds/imsrds.jar.
Do not delete imsjava.jar. Click
OK.
Figure 21-41 Configuration panel for resource adapter
3. Click Save. The Save page opens. Under Save to Master Configuration, click Save to
ensure that the changes have been made.
After completing this step, the configuration for then WebSphere Application Server for z/OS
side is completed. Then, you have to recycle the WebSphere Application Server for z/OS
region to reflect your new configurations.

Get IMS Connectivity in an On Demand Environment: A Practical Guide to IMS Connectivity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.