CICSJDBCReader
The CICSJDBCReader data stream
is used to retrieve data from a database using a Java™ Database Connectivity (JDBC) connection.
Note: You must use the CICSJDBCReader class that
is provided with this feature pack. The JDBCReader class
that is provided by WebSphere® Application
Server is not supported.
Required properties
| Property | Description |
|---|---|
| IMPLCLASS | Class implementing JDBCReaderPattern |
Optional properties
| Property | Value | Description |
|---|---|---|
| debug | true or false (default is false) | Enables detailed tracing on this batch data stream. |
| EnablePerformanceMeasurement | true or false (default is false) | Calculates the total time that is spent in the batch data-streams and the processRecord method, if you are using the GenericXDBatchStep. |
| EnabledDetailedPerformanceMeasurement | true or false (default is false) | Provides a more detailed breakdown of time that is spent in each method of the batch data streams. |
xJCL example
<bds>
<logical-name>inputStream</logical-name>
<props>
<prop name="IMPLCLASS"
value="com.ibm.websphere.batch.samples.tests.bds.EchoReader" />
<prop name="EnablePerformanceMeasurement" value="${enablePerf}" />
<prop name="debug" value="${debugEnabled}" />
</props>
<impl-class>com.ibm.cics.batch.bds.patterns.CICSJDBCReader</impl-class>
</bds>For more information, see JDBCReaderPattern.