query in server jobs

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sunitha_cts
Participant
Posts: 98
Joined: Thu Feb 05, 2009 1:14 am
Location: visakhapatnam
Contact:

query in server jobs

Post 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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Why can't you just use the DB2 stage and connect through DB2 Connect to the DB2/400 database?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

From my reading of the post, the source was DB2 but is now flat files.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply