Hi,
I have text file which has multiple seperators in the data. (i.e the data consists of comma separator, space seprator in the same file)
I want to read this file using sequential file stage.
Can you guys help me how can i proceed.
Thanks
Reading a file using sequential file stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 4
- Joined: Thu Jul 22, 2010 4:38 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 4
- Joined: Thu Jul 22, 2010 4:38 am
Re: Reading a file using sequential file stage
Hi,
Read ur file with a delimiter that u think will not come in ur file as a delimiter,this will read record in ur file as a single column.
If you want to create the different files of same delimiter we can do that also using a transformer and count function in the constraint.
Regards
Sachin Gupta
Read ur file with a delimiter that u think will not come in ur file as a delimiter,this will read record in ur file as a single column.
If you want to create the different files of same delimiter we can do that also using a transformer and count function in the constraint.
Regards
Sachin Gupta
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: Reading a file using sequential file stage
The second person personal pronoun is spelled "you" in English, or "your" in possessive case.sachinag wrote:Hi,
Read ur file with a delimiter that u think will not come in ur file as a delimiter,this will read record in ur file as a single column.
If you want to create the different files of same delimiter we can do that also using a transformer and count function in the constraint.
Regards
Sachin Gupta
Please eschew SMS-style abbreviations and prefer professional written English on DSXchange.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.