APT_CombinedOperatorController()

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
harsha_blm
Participant
Posts: 10
Joined: Tue Jun 19, 2007 1:16 am
Location: Bangalore

APT_CombinedOperatorController()

Post by harsha_blm »

Hi All,


I am extracting a timestamp attribute(EFF_DT(nullable), format as '2005-01-30 23:59:59') from oracle connector after join with another oracle connector and passing the value through a transformer and writing to a dataset.

I have handled null by using If IsNull(EFF_DT) or Trim(EFF_DT)='' Then '1900-01-01 23:59:59' Else linkname.EFF_DT.

But the records are getting dropped with the warning:

APT_CombinedOperatorController(1),0: Field 'EFF_DT' from input dataset '0' is NULL. Record dropped.

Kindly let me know how to handle the above problem.

Thanks in advance.
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

Place the IsNull() and Trim() calls in separate if expressions:

Code: Select all

If IsNull(source) then default_value 
else if Trim(soure)='' then default_value 
else source
Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Hi,
Check if Eff_dt on the input link of join stage is nullable or not.if it is not nullable,please change it to nullable and run the job again.
Post Reply