Page 1 of 1

query in server jobs

Posted: Thu Jun 18, 2009 7:29 am
by sunitha_cts
Hi,

My data is in as/400 In As/400, we had to run multiple queries that is done in by using sequeals but now we are migrating that data is in form of flat files ,now in datstage server edition so how can we run those multipe queries .,and extract a single column data.
Thanks
sunitha

Posted: Thu Jun 18, 2009 7:32 am
by ArndW
My suspicion is that the answer is going to be "you can't". Specifically what kind of queries - SQL type subselects? DataStage will allow you to do certain joins and queries but SQL is limited to databases.

Posted: Thu Jun 18, 2009 7:36 am
by chulett
If you really need to use sql for these joins, you may end up needing to load the files into work/temp tables in an accessible database and perform them there.

Posted: Thu Jun 18, 2009 4:32 pm
by ray.wurlod
Why can't you just use the DB2 stage and connect through DB2 Connect to the DB2/400 database?

Posted: Thu Jun 18, 2009 4:43 pm
by chulett
From my reading of the post, the source was DB2 but is now flat files.