on 09-21-2008 1:29 PM
Hi Gurujis,
I had a input file seperated by comma with around 30 fields.
How I will create the datatype based on this information in IR?
Even,If if I create,will this will be read by file adapter?
Kindly suggest how I will build datatype with this info?
appreciate if I get links with somescreenshots and the type of adapter to be used.
Regards,
AlexFleming.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosh,
Link was useful.
But,can you give guidance on when the input file is having more than 50 fields......and is there is no pattern followed.
Example:
Name
Salutation
Education
Flex stephen stanes jone hanes..........
tyer 45 erty tyfmt mt234.........
.......................................
In the above example for all the example data should be read to datatype?If I a not reading all using adapter ,will it throw error?
How to make my adapter make it understand to understand my relevant data starts at 5th line....
For the above given data,can you suggest the datatype to be build in IR?
Regards,
Alex.
>>But,can you give guidance on when the input file is having more than 50 fields......and is there is no pattern followed.
there should be a pattern either the fields should be of a fixed length or a field seperator like comma(,) else you job is going to be difficult..
>>In the above example for all the example data should be read to datatype?
Yes. All the inputs read should be tagged to a datatype..
>>If I a not reading all using adapter ,will it throw error?
You cannot leave few parts of the file unread by the adapter, the adapter will always read the entire file at a time...
>>How to make my adapter make it understand to understand my relevant data starts at 5th line
You can use the keyField to tell that any record that has this keyFiled value belongs to a particular node..
>>For the above given data,can you suggest the datatype to be build in IR?
Definately No.
Gud Luck....!
Thanks
SaNv...
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.