Using User_defined SQL Query file in DRs Stage

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
tulasi
Participant
Posts: 6
Joined: Tue Sep 04, 2007 2:13 am
Location: chennai

Using User_defined SQL Query file in DRs Stage

Post by tulasi »

hi,

i am facing problem when trying to place the user defined sql query to the DRS Stage in our job. As the query is too long and complex, i am unable to place the whole query in a single DRS stage.so, thought of Using User_defined SQL Query file option in DRS stage.
Could please help me on using this option clerly like where the file path and name to be placed in DRS stage.
Thanks in Advance
Tulasi.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Set the query type to 'User-defined SQL query file' and then put the full path to the file where the sql itself would normally be.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If that doesn't help, consider having a View created that implements your too long and complex join. That way it's just a simple select to implement.
-craig

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