You can probably calculate the length and store it in a different field in the transformer (prior to the filter) and then use that field in the filter condition.
Regards,
Divya
Search found 105 matches
- Tue Dec 22, 2009 5:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Where Clause of Filter stage
- Replies: 4
- Views: 14196
- Mon Sep 14, 2009 12:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue in Reading Data in Sequential file
- Replies: 5
- Views: 2002
Check out the values of the data of the TIMESTAMP field whether it complies with that of the Default TIMESTAMP value (Job's default settings). If not, change the default setting to match to that of the source data or you can import the TIMESTAMP data also as 'Varchar' and then convert to the desired...
- Mon Sep 14, 2009 12:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue in Reading Data in Sequential file
- Replies: 5
- Views: 2002
Check out the values of the data of the TIMESTAMP field whether it complies with that of the Default TIMESTAMP value (Job's default settings). If not, change the default setting to match to that of the source data or you can import the TIMESTAMP data also as 'Varchar' and then convert to the desired...
- Mon Sep 14, 2009 12:05 am
- Forum: General
- Topic: Update Error
- Replies: 4
- Views: 2075
- Thu Sep 10, 2009 5:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Count based on date column
- Replies: 5
- Views: 1796
- Thu Sep 10, 2009 4:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Count based on date column
- Replies: 5
- Views: 1796
- Thu Sep 10, 2009 12:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Import from fixed length file
- Replies: 51
- Views: 16469
That helps!! I was jus wondering if I can use the same job for processing too. To be more specific, I want to split the input file to various other files based on the record type and then process the individual record types separately. I can put these into different parallel jobs and run as sequence...
- Wed Sep 09, 2009 5:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Import from fixed length file
- Replies: 51
- Views: 16469
Read as a Single Column then check for the length and extract the Columns by using substring Function. Totally in Transformer define 6 Columns Column1 SingleColumn[1,5] Column2 If Len(SingleColumn)=30 Then SingleColumn[6,9] Else SingleColumn[6,8] and so on for other columns. This code is as per the...
- Tue Sep 08, 2009 3:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: group by issue
- Replies: 13
- Views: 3202
- Mon Sep 07, 2009 10:40 pm
- Forum: General
- Topic: Merge Sequential Files - handling missing files
- Replies: 7
- Views: 2650
- Mon Sep 07, 2009 2:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Import from fixed length file
- Replies: 51
- Views: 16469
- Mon Sep 07, 2009 12:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Import from fixed length file
- Replies: 51
- Views: 16469
I am able to view my original file too :D Now I have another doubt, My actual file contains data of various record types, For eg. Lets assume it contains records of 2 record types(each fixed length), the field lengths are rowtype 1(1st character in file):5, 9, 5, 5, 6 rowtype 2(1st character in fil...
- Mon Sep 07, 2009 12:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Import from fixed length file
- Replies: 51
- Views: 16469
- Sun Sep 06, 2009 11:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Import from fixed length file
- Replies: 51
- Views: 16469
I am able to view my original file too :D Now I have another doubt, My actual file contains data of various record types, For eg. Lets assume it contains records of 2 record types(each fixed length), the field lengths are rowtype 1(1st character in file):5, 9, 5, 5, 6 rowtype 2(1st character in file...
- Sun Sep 06, 2009 11:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Import from fixed length file
- Replies: 51
- Views: 16469
The default delimiter is whitespace, So when I set the delimiter = none, its working now. Now I should try with my original file which contains lot of spaces between the fields in addition to the data. Will get back with my issues with the original file, Hope I dont have any :) Thanks a lot of of yo...