Giter Club home page Giter Club logo

Comments (5)

devoplib avatar devoplib commented on June 28, 2024 1

Thank you very much for confirming it.
We got the negative values earlier and data on s3 is not changed. It seems odd that suddenly negative sign is missing. I will copy new set of files and retest it.

from cobrix.

devoplib avatar devoplib commented on June 28, 2024

Forget to mention running the ebcdic conversion in Databricks environment.

from cobrix.

yruslan avatar yruslan commented on June 28, 2024

Hi, @devoplib,

A couple of questions from my side:

  • What is the definition of the field in the copybook?
  • Could you give some examples of correct and incorrect values and their HEX representation in the corresponding '_debug' column?
  • Is your input data EBCDIC or ASCII?
  • Do I understand correctly that you started to have positive numbers for columns that were negative for the exactly the same data?

from cobrix.

devoplib avatar devoplib commented on June 28, 2024

Definition of the fields is PIC S9(9)V9(2) COMP-3
Input data is EBCDIC
EOD_METRICSCARD_TPD_SVER_AMT EOD_METRICSCARD_TPD_SVER_AMT_debug
367876.90 00036787690C ===> This should be 00036787690D
Initially the values are Negative and Suddenly getting POSITIVE values for example for all the SVER AMT columns should be NEGATIVE but getting POSITIVE now as shown above.

Please let me know If any additional information is needed.

from cobrix.

yruslan avatar yruslan commented on June 28, 2024

EOD_METRICSCARD_TPD_SVER_AMT_debug shows exact bytes found in the file. From what I can see Cobrix parses BCD (COMP-3) numbers correctly. It seems the issue is at the place the source file is generated.
00036787690C is indeed 367876.90.

from cobrix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.