Hi,
I have one scenario which i need to implement.
Source is feed file which contains one coulmn EmpName and data in this field in around 300 length string. Please find the output in the below eg
Eg: consider the string as abcd2efgh3hijk4................ which is coming from feed file
and the output should be in single column as follows. It should be 1-5 as first record and 5-10 as second records and so on
EmpName
abcd5
efgh3
hijk4
Please let me know how to implement this scenario in DS server jobs
Need help for one scenario
Moderators: chulett, rschirm, roy
Re: Need help for one scenario
Hi,
I am not able to get your answer what u explained. can you please ellobarate please
I am not able to get your answer what u explained. can you please ellobarate please
Sequential files are split into "records" by using <cr><lf> (windows) or just <lf> (UNIX). By manually adding these characters to a string, you create new records. So in your case if there are 3 columns to split, you would read one record, add char(10) three times and do one write. But when that is read again, it will contain 3 records.
FAQ posting on this very subject. FYI.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers