SAS Date 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
BrunoD
Participant
Posts: 3
Joined: Wed Mar 21, 2012 7:24 pm
Location: São Paulo

SAS Date Issue

Post by BrunoD »

Hi,

I'm not familiar with DataStage, actually I'm try to solve a problem.
We have a SAS extract to a dataset that has a date column returning NULL.
This parallel task used to work fine.
Is there a way to check if SAS is generating NULL value? I've already checked to my SAS's team, they say that nothing has chanced there. I'm trying to check my locale settings too.

I'm sorry if this is a basic question, I'm pretty new to this world.

Thanks.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: SAS Date Issue

Post by chulett »

BrunoD wrote:This parallel task used to work fine.
However, you haven't told us what is happening, what exactly is no longer working fine? What error are you seeing?
-craig

"You can never have too many knives" -- Logan Nine Fingers
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

You can use null handling functions like IsNull() in a Transformer stage to check.
Choose a job you love, and you will never have to work a day in your life. - Confucius
BrunoD
Participant
Posts: 3
Joined: Wed Mar 21, 2012 7:24 pm
Location: São Paulo

Post by BrunoD »

Actually it's not an error, it just a SAS' date field returning NULL where should return a value.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Are you performing a lookup against the SAS data set? All columns on the reference link are set to null if the row in question is not found by the lookup operator and the "failed lookup" rule is set to "Continue".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply