Amount Column not loading in Oracle Enterprise Stage

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
karthik_j013
Participant
Posts: 18
Joined: Mon Mar 26, 2007 1:02 am

Amount Column not loading in Oracle Enterprise Stage

Post by karthik_j013 »

Hi All,

We have a Job, which is loading from a flat file to Oracle table, which is one to one loading on all the column with some trim functions used.

Here in the table we have column A datatype Decimal (38,5) in which amount have to be loaded.

When I try to load, only few records with amount is loaded; say like 100 records (all 100 records contains amount from the source file) only few records amount is loaded like 30 records and the rest is loaded with 0.

I am not getting neither a warning.

But the same is working fine in a different envirnoment, I am facing this problem dev but in UAT envirnoment it is fine.

Tried to check the envirnoment variables in both, the envirnoment varibles and setting are same in both.
NLS setting is same in both envirnoment.

Tried checking with DBA on Oracle envirnoment UAT and DEV are in sync.

Please let me know where could be the problem in envirnoment settings.

Thanks,
Karthik
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Re: Amount Column not loading in Oracle Enterprise Stage

Post by kandyshandy »

karthik_j013 wrote:all 100 records contains amount from the source file) only few records amount is loaded like 30 records and the rest is loaded with 0.
So are you sure that 100 records are loaded/updated?
Kandy
_________________
Try and Try again…You will succeed atlast!!
karthik_j013
Participant
Posts: 18
Joined: Mon Mar 26, 2007 1:02 am

Amount Column not loading in Oracle Enterprise Stage

Post by karthik_j013 »

Yes all 100 are loaded but Amount column is loaded with 0.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Show us the 'trim functions' you are using. That and examples of values that load correctly and ones that ended up zero.
-craig

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