Skip to Content
0
Former Member
Sep 11, 2007 at 05:28 PM

picking fileds randomly from the input file.

25 Views

Hi

I have a input file like below. Each record contains abt 40 fields and file may contain abt 30000 records

12345abcde!@#$%45678.............

23456bcdef@#$%^34567.............

.................................................

....................30000(records).........

But my business rek is........... I have to pick only 10 fileds(not necessarly first 10 and not necessarly side by side) from each record. How can we achieve this ??

whether message protocol to be used is file or file content conversion ?? How to pick random fields from the input file ?? But I have the knowledge of each field length......!!

Thanks

Kumar