Error in running parallel jobs

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
luckychn
Participant
Posts: 8
Joined: Mon Jan 18, 2010 1:12 am

Error in running parallel jobs

Post by luckychn »

i am trying to remove duplicates using remove duplicate stage on the emp table using scott user

but getting an error like this ... please provide me a work around for it

Sequential_File_1,0: Field "COMM" is null but no null export handling is defined
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Re: Error in running parallel jobs

Post by zulfi123786 »

luckychn wrote:i am trying to remove duplicates using remove duplicate stage on the emp table using scott user

but getting an error like this ... please provide me a work around for it

Sequential_File_1,0: Field "COMM" is null but no null export handling is defined
I guess you are trying to remove the duplicates and then writing it into a sequential file, the sequential file doesnot have any Null concept hence you need to specify a value which then will represent NULLs within the file.
Go to the Format tab of the seq file stage and then click on the Field defaults Option, you will find "Null Field Value" option at the lower right corner just click on that and then type in a value wich will be written instead of NULLs. Use the same value as the Null field value while reading the file back so that the seq file stage will import then as NULLs.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Take the error message after "COMM" and do an exact search for it here.
-craig

"You can never have too many knives" -- Logan Nine Fingers
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

Set the null field value in sequential file stage ...
Nag
luckychn
Participant
Posts: 8
Joined: Mon Jan 18, 2010 1:12 am

Post by luckychn »

Thanks guys

The workaround works

:)
Post Reply