Load SQl from a file at run time

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
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

Load SQl from a file at run time

Post by suresh.narasimha »

Hi

I'm trying to select data using OCI 8 stage ( Source ) with the query type option as Load SQl from a file at run time.

I'm able to see the oracle session has completed ...but the control is not back to datastage.

The job is still running with no data selected.

Im using datastage 7.5.1A

Suggestions please....
SURESH NARASIMHA
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Load SQl from a file at run time

Post by chulett »

Loading the sql at runtime from a file doesn't fundamentally change how queries behave. Meaning it will behave the same as if you'd entered that query in the stage itself, so that in and of itself isn't the issue here.
suresh.narasimha wrote:I'm able to see the oracle session has completed ...but the control is not back to datastage.
How are you seeing 'the session has completed'?
-craig

"You can never have too many knives" -- Logan Nine Fingers
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

Load SQl from a file at run time

Post by suresh.narasimha »

Hi Chulett

I can see my session completed from Oracle Enterprise manager.
SURESH NARASIMHA
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Right. I meant define 'complete'. Session not active? Cursors closed? What does your DBA say is going on? Or is that you? Seeing as how you have OEM.
-craig

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