Page 1 of 1

Transformer Records getting dropped

Posted: Fri Feb 26, 2010 5:05 pm
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

Posted: Fri Feb 26, 2010 5:27 pm
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?

Re: Transformer Records getting dropped

Posted: Fri Feb 26, 2010 9:32 pm
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