Column is Varchar. In the log following error is displayed:
Xfm,0: Field 'BodyType' from input dataset '0' is NULL. Record sent to reject dataset.
Search found 74 matches
- Sun May 31, 2009 9:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Null handling in transformer
- Replies: 19
- Views: 11605
- Sun May 31, 2009 9:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Null handling in transformer
- Replies: 19
- Views: 11605
- Fri May 29, 2009 7:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Null handling in transformer
- Replies: 19
- Views: 11605
- Fri May 29, 2009 7:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Null handling in transformer
- Replies: 19
- Views: 11605
Null handling in transformer
Hi All, In the transformer, I have given a condition for a column as: If Trim(NullToEmpty(Col1))='' Then 'Unknown' Else Trim(NullToEmpty(Col1)) But the records having Col1 as blank are getting rejected. I dont want to reject the record, rather replace it with "Unknown" if it is blank. The ...
- Mon May 18, 2009 4:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to remove all duplicate records
- Replies: 4
- Views: 2155
- Mon May 18, 2009 3:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to remove all duplicate records
- Replies: 4
- Views: 2155
- Mon May 18, 2009 3:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to remove all duplicate records
- Replies: 4
- Views: 2155
how to remove all duplicate records
Hi All, If the scenario is to remove all the records having duplicate key,the remove duplicate stage or the sort stage removes all except one.But i want to remove all records. Can it be done in Datastage? Ex: Col1 Col2 Col3 1 001 002 1 001 003 2 001 004 3 002 003 In this example, Col1 and Col2 are t...
- Tue May 12, 2009 3:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data not getting inserted correctly in db
- Replies: 3
- Views: 1315
One thing I forgot to tell u. I am using a change capture stage also in between. The scenario is that i have to compare tableA and table B and insert new records into table B. I think there is some problem with the change capture only becoz when i tried to insert directly from one table to another t...
- Tue May 12, 2009 3:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data not getting inserted correctly in db
- Replies: 3
- Views: 1315
data not getting inserted correctly in db
Hi All, I am trying to insert data from one table A to another table B. All the columns are just a straight move through a transformer. Table A is having one column which is having values like: Col1 002 004 This Col1 is not getting inserted properly into TableB. In TableB, data inserted is : 0000000...
- Wed May 06, 2009 6:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to insert record into table when input file is empty
- Replies: 7
- Views: 3696
how to insert record into table when input file is empty
Hi All,
I have to load data from a file into database.
When there are no records in the file(empty file), then i want to enter 1 hardcoded record into table.
How can i implement this?Could you pls help.
Thanks
I have to load data from a file into database.
When there are no records in the file(empty file), then i want to enter 1 hardcoded record into table.
How can i implement this?Could you pls help.
Thanks
- Tue May 05, 2009 6:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: if else logic
- Replies: 6
- Views: 3100
- Tue May 05, 2009 6:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Capturing the job status (When running ) in UNIX
- Replies: 1
- Views: 906
- Tue May 05, 2009 6:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Distinct of a query not retrieving correct result
- Replies: 14
- Views: 4934
- Thu Apr 30, 2009 6:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to restore the datastage projects
- Replies: 7
- Views: 3040
- Thu Apr 30, 2009 5:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to restore the datastage projects
- Replies: 7
- Views: 3040