Skip to content

Commit b311983

Browse files
authored
Merge pull request #21 from cicsdev/aj-6.1-changes
6.1 csd input and readme changes
2 parents 86629af + 7f997e8 commit b311983

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Sample: cics-java-osgi-jdbc
2-
[![Build](https://github.com/cicsdev/cics-java-osgi-jdbc/actions/workflows/java.yaml/badge.svg?branch=cicsts/v6.1)](https://github.com/cicsdev/cics-java-osgi-jdbc/actions/workflows/java.yaml)
32

43
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.
54

@@ -127,7 +126,6 @@ DB2CONN=YES
127126
...
128127
// DD DISP=SHR,DSN=SYS2.DB2.&DB2..SDSNLOAD
129128
// DD DISP=SHR,DSN=SYS2.DB2.&DB2..SDSNLOD2
130-
// DD DISP=SHR,DSN=DSN&DB2.P2.RUNLIB.LOAD
131129
```
132130

133131
### Configure the JVM Profile
@@ -154,7 +152,7 @@ Ensure a CICS DB2CONN is installed and connected.
154152
CEDA DEFINE DB2CONN(JODBCONN) GROUP(CDEVJODB)
155153
```
156154
```
157-
CEDA INSTALL DB2CONN(CDEVJODB) GROUP(CDEVJODB)
155+
CEDA INSTALL DB2CONN(JODBCONN) GROUP(CDEVJODB)
158156
```
159157

160158
### Option 2 - Configure the DB2CONN with CICS Explorer
@@ -169,6 +167,9 @@ CEDA INSTALL DB2CONN(CDEVJODB) GROUP(CDEVJODB)
169167
---
170168

171169
## Deploying to CICS
170+
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+
172173
### Option 1 - Deploying using CICS Explorer SDK and the provided CICS bundle project
173174
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.
174175

@@ -246,7 +247,7 @@ JODB
246247
The actual contents will be based on the values in the `EMP` table in the database.
247248

248249
## 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).
250251

251252
## Usage terms
252253
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:

etc/DFHCSD.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
DELETE GROUP(CDEVJODB)
2+
3+
DEFINE JVMSERVER(DFHOSGI) GROUP(CDEVJODB)
4+
DESCRIPTION(Example JVM server definition)
5+
JVMPROFILE(DFHOSGI)
6+
7+
DEFINE DB2CONN(JODBCONN) GROUP(CDEVJODB)
8+
DB2ID(DBID)
9+
10+
DEFINE TRANSACTION(JODB) GROUP(CDEVJODB)
11+
PROGRAM(CDEVJODB)
12+
13+
DEFINE BUNDLE(CDEVJODB) GROUP(CDEVJODB)
14+
DESCRIPTION(CICS OSGi Java JDBC samples)
15+
BUNDLEDIR(/u/cics/cics-java-osgi-jdbc-bundle-1.0.0)

0 commit comments

Comments
 (0)