Sort stage Warnings

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
larryoceanview
Participant
Posts: 70
Joined: Fri Dec 26, 2003 3:14 pm
Location: Plantation, FL

Sort stage Warnings

Post by larryoceanview »

Any way to turn warnings off from a sort stage into a transform?

Code: Select all

Sort_10: At row 1, link "DSLink24", while processing column "FUBAR"
Value treated as NULL
Attempt to convert String value "" to Long type unsuccessful


Thanks,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Only way to "turn them off" is to ensure they don't occur. Looks like you have an "empty" field that is being moved into a Long datatype and it doesn't like that. Can you check for and transform that to something else before the Sort stage, like to a NULL or a Zero perhaps?
-craig

"You can never have too many knives" -- Logan Nine Fingers
larryoceanview
Participant
Posts: 70
Joined: Fri Dec 26, 2003 3:14 pm
Location: Plantation, FL

Just peachy!

Post by larryoceanview »

chulett wrote:Only way to "turn them off" is to ensure they don't occur. Looks like you have an "empty" field that is being moved into a Long datatype and it doesn't like that. Can you check for and transform that to something else before the Sort stage, like to a NULL or a Zero perhaps?

If time permits, but I have about 50 different fields with similiar errors and some have valid data. I just wanted to supress the warning like in the file stages. Shouldn't the sort stage be consistent with the file stages? :roll:

Thanks,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What "file stages" are you referring to that allow you to suppress fundamental data type mismatch warnings like this? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
larryoceanview
Participant
Posts: 70
Joined: Fri Dec 26, 2003 3:14 pm
Location: Plantation, FL

Post by larryoceanview »

chulett wrote:What "file stages" are you referring to that allow you to suppress fundamental data type mismatch warnings like this? :?

Format sequential file stage- suppress row truncation warnings!
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

Please handle null values.


Thanks
Man
gh_amitava
Participant
Posts: 75
Joined: Tue May 13, 2003 4:14 am
Location: California
Contact:

Post by gh_amitava »

Hi,

Set the "Nullability" of the field to "Yes"

Regards
Amitava
Post Reply