You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sample demonstrates how to code, build, and deploy a CICS Java OSGi application that makes JDBC calls to Db2. It makes use of the employee sample table supplied with Db2 for z/OS, and allows you to display employee information from the table EMP.
5
4
@@ -127,7 +126,6 @@ DB2CONN=YES
127
126
...
128
127
// DD DISP=SHR,DSN=SYS2.DB2.&DB2..SDSNLOAD
129
128
// DD DISP=SHR,DSN=SYS2.DB2.&DB2..SDSNLOD2
130
-
// DD DISP=SHR,DSN=DSN&DB2.P2.RUNLIB.LOAD
131
129
```
132
130
133
131
### Configure the JVM Profile
@@ -154,7 +152,7 @@ Ensure a CICS DB2CONN is installed and connected.
154
152
CEDA DEFINE DB2CONN(JODBCONN) GROUP(CDEVJODB)
155
153
```
156
154
```
157
-
CEDA INSTALL DB2CONN(CDEVJODB) GROUP(CDEVJODB)
155
+
CEDA INSTALL DB2CONN(JODBCONN) GROUP(CDEVJODB)
158
156
```
159
157
160
158
### Option 2 - Configure the DB2CONN with CICS Explorer
CICS resource definitions for the bundle, programs, transactions and a JVM server are supplied in a group CDEVJODB as a DFHCSDUP sample input stream supplied in [`DFHCSD.txt`](etc/DFHCSD.txt). Alternatively they can be installed using the bundle parts supplied with the cics-java-osgi-jdbc-bundle project.
171
+
Note that the resource definitions for the CICS program `CDEVJODB` will be auto-installed by the processing of @CICSProgram annotation.
172
+
172
173
### Option 1 - Deploying using CICS Explorer SDK and the provided CICS bundle project
173
174
1. Deploy the CICS bundle project 'com.ibm.cics.server.examples.osgi.jdbc.bundle' from CICS Explorer using the **Export Bundle Project to z/OS UNIX File System** wizard. This CICS bundle includes the osgi bundlepart and the JODB transaction to run the sample.
174
175
@@ -246,7 +247,7 @@ JODB
246
247
The actual contents will be based on the values in the `EMP` table in the database.
247
248
248
249
## License
249
-
This project is licensed under [Apache License Version 2.0](LICENSE).
250
+
This project is licensed under [Eclipse Public License - v 2.0](LICENSE).
250
251
251
252
## Usage terms
252
253
By downloading, installing, and/or using this sample, you acknowledge that separate license terms may apply to any dependencies that might be required as part of the installation and/or execution and/or automated build of the sample, including the following IBM license terms for relevant IBM components:
0 commit comments