Need some help extracting records from flat file
- Posted by csaik <chris.saik at comcast.net> Nov 16, 2005
- 433 views
Hello everyone. I have a problem and am humbly requesting your help. I have a flat txt file that contains about 120k records. Each record resides on it's own line in the flat file, and each record has a fixed length of 325. I need to extract every 8th record (starting from the 1st... so 1,9,17,etc) from this file and place these records in another txt file. Can anyone assist me with creating the loop to accomplish this? I am certain that this is easy but my brain is fried. I would be very grateful. Thank you, Chris