Oracle Enterprise Stage SQLLOADER issue

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
jaganmo
Participant
Posts: 7
Joined: Wed Jan 28, 2009 4:40 pm

Oracle Enterprise Stage SQLLOADER issue

Post by jaganmo »

When Blank is supplied for a Column F1 which is of Char 1, the Oracle Enterprise Stage treats that as a NULL and rejects. This happens only when the Write Method is Load.

Any suggestions to avoid the rejection of records with column having space.
Regards,
Jaganmohan.R
betterthanever
Participant
Posts: 152
Joined: Tue Jan 13, 2009 8:59 am

Re: Oracle Enterprise Stage SQLLOADER issue

Post by betterthanever »

any warnings in the log???
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There should be an APT variable to "preserve blanks" from what I recall. Ah, yes, found it - set $APT_ORACLE_PRESERVE_BLANKS to TRUE.
-craig

"You can never have too many knives" -- Logan Nine Fingers
jaganmo
Participant
Posts: 7
Joined: Wed Jan 28, 2009 4:40 pm

Post by jaganmo »

chulett wrote:There should be an APT variable to "preserve blanks" from what I recall. Ah, yes, found it - set $APT_ORACLE_PRESERVE_BLANKS to TRUE. ...
Thanks Everybody.

Using $APT_ORACLE_PRESERVE_BLANKS to True, I could successfully load the data.
Regards,
Jaganmohan.R
Post Reply