Search found 246 matches

by kennyapril
Mon Nov 08, 2010 8:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

tried the same way,assigned a value which says"no-name" but behaves the same way. the flow is remove duplicates stage------>transformer------->table does this change anything in the above ideas. around 400 records come into removeduplicates stage as the duplicates are removed now the outpu...
by kennyapril
Mon Nov 08, 2010 1:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

tried the last shot also,but no solution.

will let you know if I find the solution by tomorrow.

thanks a lot for your input and effort nitkuar
by kennyapril
Mon Nov 08, 2010 1:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

Tried that also but did not help....


thanks,
by kennyapril
Mon Nov 08, 2010 1:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

[IBM][CLI Driver][DB2/SUN64] SQL0407N Assignment of a NULL value to a NOT NULL column "TBSPACEID=3, TABLEID=5, COLNO=5" is not allowed. SQLSTATE=23502

the above message is the warning I get with out any errors when using only IsNull.



Thanks,
by kennyapril
Mon Nov 08, 2010 1:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

got the same compilation error earlier..

The difference I observe between the two kinds is when I use trim i get this compilation error with out trim I mean only the IsNull no errors but the data will not be loaded as the column is not null and the values are null.
by kennyapril
Mon Nov 08, 2010 1:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

sure

this is the column derivation used in the transformer

If IsNull(Trim(DSlink44.user_name)) then ' ' Else DSLink44.user_name


Thanks,
by kennyapril
Mon Nov 08, 2010 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

Yes value in $APT_PAD_CHAR variable is 0x20


Thanks,
by kennyapril
Mon Nov 08, 2010 11:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

craig, The target is not oracle thats a db2,so do I need to use the environment variable. nitkuar, used the code and used padchar also set to 0X20. now I get a compilation error in the transformer and got the msg ##I IIS-DSEE-TOSH-00002 11:54:01(001) <main_program> orchgeneral: loaded ##I IIS-DSEE-T...
by kennyapril
Mon Nov 08, 2010 11:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

Datatype and nullability for the transformer and target stage is

Code: Select all

char and not NULL
 

Thanks
by kennyapril
Mon Nov 08, 2010 9:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

I used something like

If IsNull(DSLink44.user_name) then ' ' Else DSLink44.user_name

in the derivation of column in transformer.


but did not work

please let me know if any changes are required.
by kennyapril
Sun Nov 07, 2010 1:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 14880

Assignment of a NULL value to a NOT NULL

Hello,

I was trying to load some records in the table but none of the records are inserted because one of the record has null value and the column has not null property.

please suggest a function to use in the transformer which changes the null records to some value.
by kennyapril
Fri Nov 05, 2010 12:14 pm
Forum: IBM QualityStage
Topic: Custom rule sets
Replies: 31
Views: 14991

thanks for the information. designed a sample job when a source which has all the addresses and used CASS stage to a target sequential file also used the reference database from opt/IBM/cass path. I got an error which says "QualityStage Compressed USPS data files are older than 105 days" &...
by kennyapril
Thu Nov 04, 2010 7:49 pm
Forum: IBM QualityStage
Topic: Custom rule sets
Replies: 31
Views: 14991

Thanks, Actually when an address is entered as a request the address should be corrected and then standardized. once it is standardized the address splits into some forms of addresses. there is no need match against the database in this service,only thing is correct the address and standardize and s...
by kennyapril
Thu Nov 04, 2010 1:26 pm
Forum: IBM QualityStage
Topic: Custom rule sets
Replies: 31
Views: 14991

sure I will look at eostic's post.

what I meant was the response for the service is not onlyto correct the address but also standardize it. so I would use two stages CASS and standardize.

If I set the parameter set it would refresh by itself. Is this right?


Thanks
by kennyapril
Thu Nov 04, 2010 12:19 pm
Forum: IBM QualityStage
Topic: Custom rule sets
Replies: 31
Views: 14991

Thanks, OK, I need CASS stage to correct the provided address and then a standardize the address which is corrected because the response form the service has to be all the standardized addresses from the corrected address. When CASS data expires every 105 days does it automatically load the new data...