cobrix icon indicating copy to clipboard operation
cobrix copied to clipboard

Create encoders and an EBCDIC record writer

Open yruslan opened this issue 6 years ago • 2 comments

Background

Currently, Cobrix can be used only for reading EBCDIC data. Sometimes it is useful to be able to write EBCDIC records as well, for instance, to send EBCDIC-encoded messages to MQ. Currently, Cobrix has only EBCDIC decoders.

Feature

Implement EBCDIC encoders that can be used to create binary records according to formats specified in a copybook.

Subtasks

This is a big task. Here is a more detailed list of what is needed: Encoders:

  • [ ] Binary encoders from JVM integral types to IBM formats
  • [ ] BCD encoders from JVM numeric types to IBM BCD formats
  • [ ] Floating-point encoders from JVM floats and doubles IBM floating-point formats
  • [ ] Encoders from JVM numeric types to IBM DISPLAY formats
  • [ ] Encoders from JVM strings to IBM EBCDIC strings

Record writer:

  • [ ] Given a record data structure and a parsed copybook, record writer should create a record as a binary array and fill it with record data according to the copybook.

yruslan avatar Oct 07 '19 10:10 yruslan

Hi Ruslan I am looking at an use case where I want to write back into EBCDIC file.Any update on when this enhancement would be complete.! Thanks

bhasi10 avatar Aug 10 '20 12:08 bhasi10

Sorry, I can't provide any timelines at the moment.

yruslan avatar Aug 10 '20 15:08 yruslan