Null Handling Dates in Modify 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
iwin
Premium Member
Premium Member
Posts: 99
Joined: Mon Apr 11, 2005 9:20 pm

Null Handling Dates in Modify Stage

Post by iwin »

Hi All,
I am trying to handle null in a Date (length 10) and timestamp (length 26) datatype columns in Modify Stage. I specified as follows:

Date1=handle_null(date2,'1111-11-11')
timestamp1=handle_null(timestamp2,'1111-11-11 11:11:11.111111').

This is not working. Any suggestions plz.
Every person you meet knows something you don't, Learn from them.
-- H. Jackson Brown
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

Try testing them one at a time and maybe put in there a string to date or string to timestamp function inside the null handler.
Post Reply