Transformer Records getting dropped

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
sgubba
Participant
Posts: 30
Joined: Wed Apr 16, 2008 11:06 am

Transformer Records getting dropped

Post by sgubba »

The is a column JN_ADDRESS_OUT.RESTRICTED_ACCT_IND

I am using this column at two locations and these are the transformations

IF ISNULL(JN_ADDRESS_OUT.RESTRICTED_ACCT_IND) THEN SETNULL() ELSE JN_ADDRESS_OUT.RESTRICTED_ACCT_IND

IF NULLTOEMPTY(JN_ADDRESS_OUT.RESTRICTED_ACCT_IND)='Y' THEN '1' ELSE '0'

Some of the records are getting dropped

I did not used the column in constraints

any suggestions
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What DID you use in the constraints?

Does your Transformer stage have an Otherwise/Log output and/or a Rejects output link?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dsedi
Participant
Posts: 220
Joined: Wed Jun 02, 2004 12:38 am

Re: Transformer Records getting dropped

Post by dsedi »

sgubba wrote:The is a column JN_ADDRESS_OUT.RESTRICTED_ACCT_IND

I am using this column at two locations and these are the transformations

IF ISNULL(JN_ADDRESS_OUT.RESTRICTED_ACCT_IND) THEN SETNULL() ELSE JN_ADDRESS_OUT.RESTRICTED_ACCT_IND

IF NULLTOEMPTY(JN_ADDRESS_OUT.RESTRICTED_ACCT_IND)='Y' THEN '1' ELSE '0'

Some of the records are getting dropped

I did not used the column in constraints

any suggestions
what is the data type of RESTRICTED_ACCT_IND you have defined? did you defined the Nullable property as YES or NO?
as Ray asked please post more from Log output.

BTW..why you are doing the below? is there anything missing? :?
IF ISNULL(JN_ADDRESS_OUT.RESTRICTED_ACCT_IND) THEN SETNULL() ELSE JN_ADDRESS_OUT.RESTRICTED_ACCT_IND
Accept that some days you're the pigeon and some days you're the statue.
Post Reply