Re: edi record


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

Posted by Grant Foraker on July 20, 2007 at 13:53:04:

In Reply to: Re: edi record posted by Marc on July 20, 2007 at 12:38:35:

The last record is a different length. Annoying :)

A work-a-round would be to manually pad the end of the file with spaces until you're n times 4096.

Never tried this. Open the file in Comet, get the data size, divide by 4096 and get the remainder, subtract the remainder from 4096, append that many spaces to the file with the Comet DOS commands, then pass the file onto the parsing part of your program.


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):






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