|
Post by Holger on Jun 29, 2014 13:20:07 GMT -5
It seems that the implementation of the new RECFM types VBI and VLI have led to a wrong behaviour of RECFM=V: While the RDW is written correctly (the length of the RDW included), opening such files results in an error message, because SPFlite expects a RDW without its length of 4 bytes.
|
|
|
Post by George on Jun 30, 2014 9:36:26 GMT -5
Holger: Let me check this out. George
Hi again. Yes a major Oops there, not sure how that got missed. I have a couple other small fixes waiting, I think it's time for yet another release to pick this up.
George
|
|
|
Post by Holger on Jul 4, 2014 15:12:39 GMT -5
Hi George,
I have tried the new release, and the RECFM=V files can be opend again. Thanks for that! But it doesn't work for records with more than 256 bytes (i. e. using the high-byte of the RDW) yet :-(
Holger
|
|
|
Post by George on Jul 4, 2014 15:34:15 GMT -5
Holger: OMG! I corrected the obvious error that VLI/VBI introduced, but tested it only on some simple files. My apologies for missing this.
I'll go back in and get this corrected.
George
|
|
|
Post by George on Jul 5, 2014 10:28:07 GMT -5
Holger: This gets even odder. It appears the underlying problem here is not something triggered by the addition of VLI VBI at all. The RECFM V support is wrong all the way back to version 5 of SPFLite (I gave up going back to find a version that 'maybe' would be correct). Amazing that nobody has stumbled on it during that period (many years).
It will be fixed. I'll stop wasting time trying to figure out how I 'messed it up' with this last change.
George
|
|
|
Post by George on Jul 5, 2014 10:44:52 GMT -5
Holger: OK, it's now corrected. I'll include it in the next release.
If you or anyone else wants the corrected version before the next release, please privately send me your email address and I'll send it to you.
George
|
|
|
Post by Holger on Jul 5, 2014 17:12:13 GMT -5
Hello George,
thank you for this offer! I will contact you via SPFLite<at>gmail.com.
Holger
|
|