Sort_455: |-100| Sort stage aborted

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
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

Sort_455: |-100| Sort stage aborted

Post by G SHIVARANJANI »

Hi,

My sort stage is aborting with the following error

->xivpd515PostSmoothingRndgDP_1_CHANGE..Sort_442: At row 0, link "DSLink449", while processing column "D_CAL"
Input column does not promote to output column
->Sort_455: |-100|
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

Re: Sort_455: |-100| Sort stage aborted

Post by G SHIVARANJANI »

G SHIVARANJANI wrote:Hi,

My sort stage is aborting with the following error

->xivpd515PostSmoothingRndgDP_1_CHANGE..Sort_442: At row 0, link "DSLink449", while processing column "D_CAL"
Input column does not promote to output column
->Sort_455: |-100|
Can any one help me fix this issue please
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Everything on the input link must exist on the output link.
-craig

"You can never have too many knives" -- Logan Nine Fingers
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

Post by G SHIVARANJANI »

chulett wrote:Everything on the input link must exist on the output link. ...
Thankyou chulett

I see every thing in input is there in output with matching data types too
but still the error persists,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Including the mentioned "D_CAL" column? Worst case delete the stage and set it up again from scratch.
-craig

"You can never have too many knives" -- Logan Nine Fingers
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

Post by G SHIVARANJANI »

chulett wrote:Including the mentioned "D_CAL" column? Worst case delete the stage and set it up again from scratch. ...
I tried to set up now but still the issue persist :-(
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

Post by G SHIVARANJANI »

G SHIVARANJANI wrote:
chulett wrote:Including the mentioned "D_CAL" column? Worst case delete the stage and set it up again from scratch. ...
I tried to set up now but still the issue persist :-(
There are fields in the sorter stage which are numeric and date fields which are been passed as varchar fields,

can this be the issue ? craige
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Possibly. Both the column names and data types must match for it to "map" properly. Do they?
-craig

"You can never have too many knives" -- Logan Nine Fingers
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

Post by G SHIVARANJANI »

chulett wrote:Possibly. Both the column names and data types must match for it to "map" properly. Do they? ...
Sort Input stage has

Varchar,varchar,varchar,decimal,varchar,varchar
D_PERD_STRT,D_PERD_END,D_CAL,SUM,ID,I_PLT
2010-12-13,2010-12-13,2010-12-13,12,1,08475


Output has
Varchar,varchar,varchar,decimal,varchar,varchar
D_PERD_STRT,D_PERD_END,D_CAL,SUM,ID,I_PLT
2010-12-13,2010-12-13,2010-12-13,12,1,08475
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need another set of eyes on site to check your work, everything you've posted looks fine so far. Not sure what else to tell you. What other settings are you using in the stage? Is "D_CAL" mentioned elsewhere, in your Sort Specification perhaps? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

Post by G SHIVARANJANI »

chulett wrote:You need another set of eyes on site to check your work, everything you've posted looks fine so far. Not sure what else to tell you. What other settings are you using in the stage? Is "D_CAL" mentioned elsewhere, in your Sort Specification perhaps? :?

I have put a transformer ,hash file then a sort stage then a transforemr.

Now when i remove the hash file and put transformer, sort stage, and tansformer... the job works fine
Post Reply