Batch Parsing of (S)equential/Non-Keyed file


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Bob A on October 11, 2016 at 22:19:32:

I've got a folder with a year's copies of a sequential file

I have need to extract two data elements from each line

I figure I can call DOS COPY routines to copy to a single file and then iterate thru the file to UNPACK into a .csv file

I had thought that it might also be possible to read the files into memory and just iterate thru the "table" to get the two numbers

Any idea which might be better/faster? I've never used File reading commands so I was thinking of doing something "new and exciting"

Thanx

Bob "A" (not exactly New and Exciting in New York)


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]