AbsaOSS / AbsaOSS/cobrix

Create encoders and an EBCDIC record writer

Open
#186 2 comments 0 reactions 1 assignee Claimed by @yruslan View on GitHub
enhancement
Dominant language
Scala
Stars
170
Forks
96
Avg merge
57m
Merged PRs (30d)
2

Description

## 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.