Appendium / flatpack

CSV/Tab Delimited and Fixed Length Parser and Writer
http://flatpack.sf.net
Apache License 2.0
57 stars 20 forks source link

Support for COBOL packed decimal data format and EBCDIC support #21

Closed srbala closed 6 years ago

srbala commented 9 years ago

I am new to flatpack library.Support for COBOL packed decimal data format and EBCDIC support, not sure flatpack supports it.

Scanned through documentation and samples, I am not able to locate how to read/write COBOL packed decimal data COMP, COMP-3 etc.

Is flatpack support these? if not, any plan to support in future?

benoitx commented 9 years ago

Hi

Could you provide an example how this big decimal is represented in text?

You can use FlatPack to get strings out of the file, you would then simply need to parse the string.

HTH

Benoit


Important Notice This communication contains information that is considered confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original

On 29 Aug 2015, at 14:58, Bala Raman notifications@github.com wrote:

I am new to flatpack library.Support for COBOL packed decimal data format and EBCDIC support, not sure flatpack supports it.

Scanned through documentation and samples, I am not able to locate how to read/write COBOL packed decimal data COMP, COMP-3 etc.

Is flatpack support these? if not, any plan to support in future?

— Reply to this email directly or view it on GitHub.

srbala commented 9 years ago

Packed data is applicable only for binary data format. I will find for some spec and post it here.

benoitx commented 9 years ago

So your question would be...does FlatPack handle binary files with a definition for fixed width?

Good question...I have never tried...I doubt there won't be any glitches... Would love if you could try it and let us know.

Thanks


Important Notice This communication contains information that is considered confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original

On 29 Aug 2015, at 16:28, Bala Raman notifications@github.com wrote:

Packed data is applicable only for binary data format. I will find for some spec and post it here.

— Reply to this email directly or view it on GitHub.

srbala commented 6 years ago

No longer required tihs feature, closing issue.