Job abort during AGG OR SORT

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

Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Job failed with the error saying "Required column missing"
pandeesh
Premium Member
Premium Member
Posts: 1399
Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU

Post by pandeesh »

It might be the describe failed error.
Please check the presence of the missing column in source as well as target with same metadata
pandeeswaran
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Got it, it was the metadata error, with more quotes in other columns,
issue resolved, running the job again with Sort and Agg....post the results soon.
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Okay the input link to the SORT stage has processed all the rows but the output link doesnt show any rows processed from a long time, does this mean it is not configured correctly????
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Here is the settings i am using.

Rows coming in 1.2 million rows
Max Rows in VM = 49000
Max Open Files = 20
Temp File = explicit Full Path mentioned(i can also see files getting created therr)
tracing level = 0
Stable sort = no
esc char= \
column seperator = ,
Sort spec = Col1 ASC,COl2 ASC,Col3 ASC ...so on
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Still Running and no rows on the Sort Output link Yet, running from 3 hours.
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

running from 4 hours.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You will never get any rows output from a Sort stage until all the input rows have been consumed. This is common sense - it does not know where the final row will be in the sorted order until it has been processed.
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 »

Nagaraj wrote:Okay the input link to the SORT stage has processed all the rows but the output link doesnt show any rows processed from a long time, does this mean it is not configured correctly????
Don't confuse my advice about how a properly configured Aggregator will run with what you see in the Sort stage, it must take in everything first. And the Server sort stage is pretty slow, in my experience I found an O/S level sort to be approximately 10x faster. YMMV.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

Okay will try to sort at the OS level and check the Processing in Job.
Post Reply