Trouble encoding sort keys: Field "xy" has keyprep

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
DSUser2000
Participant
Posts: 42
Joined: Tue Oct 20, 2009 8:36 am

Trouble encoding sort keys: Field "xy" has keyprep

Post by DSUser2000 »

Hello,
I've got a job which sorts by a Timestamp-field (read from DB2 API with microseconds flags, non-nullable in DB). On execution, I get the following error after about 3 Mio. rows:

Code: Select all

Sort_123,2: Trouble encoding sort keys: Field "xxx" has keyprep export format error; value: **************************
(the stars are really there)
Is this a known problem in DS 7.5.3? I'm now using a Char field instead which is not ideal but seems to work.
DSUser2000
Participant
Posts: 42
Joined: Tue Oct 20, 2009 8:36 am

Post by DSUser2000 »

Noone having an idea on this one?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Guess not. Seems to be saying that 3M rows or so in, you've got something it doesn't think is a valid timestamp.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSUser2000
Participant
Posts: 42
Joined: Tue Oct 20, 2009 8:36 am

Post by DSUser2000 »

Well DB2 thinks it is valid because it comes from there and goes there. So this is really strange...
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Then perhaps there's a difference between what DB2 considers a valid timestamp and what DataStage does. Have you asked your official support provider?
-craig

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