Page 1 of 1

DB2/UDB Load Issues

Posted: Thu Jun 22, 2006 11:25 pm
by cnguyen
Our environment:

DataStage 7.5 on AIX
DB2 Connect Version 8
DB2 Database V7 on Z/OS

The DB2/UDB Load stage does not work. The error message returned was "SQL1325N The remote database environment does not support the command or one of the command options."

The DB2/UDB Load Stage documentation said that this stage is used to load data into a UDB table.

Does this mean this stage does not work for DB2 database on a mainframe? :( Can someone verify?

Thanks

Posted: Fri Jun 23, 2006 12:42 am
by ray.wurlod
Or does it mean that DB Connect v8 can not send correct commands to DB2/390 v7 (version mismatch), or does it mean that DB2/390 and DB2/UDB are different beasts?

Posted: Fri Jun 23, 2006 1:38 am
by ArndW
Does that mean that the other methods do work and that load is the only one with this error?

Re: DB2/UDB Load Issues

Posted: Fri Jun 23, 2006 3:15 am
by Klaus Schaefer
It's true, you cannot use UDBLoad for mainframe target, UDBLoad only works for for UDB on UNIX/Windows.

For mainframe you can create the load file and place it on the host. You would then have to run a mainframe JCL to run the DB2 load utility.

Another alternative would be to use the DSEE MVS component, which generates COBOL and JCL for the mainframe and indeed directly could load into UDB/mainframe.

Best regards

Klaus

Re: DB2/UDB Load Issues

Posted: Fri Jun 23, 2006 9:03 am
by cnguyen
Klaus,

Thanks for confirming this. Not what I wanted to hear but oh well. It looks like DB2/UDB API is the only stage that is working for DB2 on a mainframe.