BPXBATCH and JAVA

Shaun LOMBARD

BPXBATCH and JAVA
Has anyone attempted to run Java under BPXBATCH to connect to DB2?

We are running a batch job using BPXBATCH that invokes a standard COOL:Gen
generated COBOL program (using Call attach) that invokes a C program that
invokes a Java application that references DB2. The batch job is failing
with a S0C1 claiming that there is no SYSPRINT DD statement. One exists in
the BPXAS address space and one in the batch application.

What we would like is to know if anyone has successfully connected to DB2
from a
BPXBATCH job, a copy of the JCL and the call attach program used, if
possible.

I believe IBM do not provide one.

Thanks



Max Scarpa

Re: FW: BPXBATCH and JAVA
(in response to Shaun LOMBARD)
Hi Shaun, take a look at redbook:

SG245619 Java programming guide for OS/390 (chapter 22).

I'll test (I hope; we are just now installing JDBC/SQLJ support in a test
DB2) the jcl asap...

HTH

Max Scarpa