ebcdic-to-ascii-converter | program allows to convert some source files | File Utils library

 by   SonarSource Java Version: Current License: Non-SPDX

kandi X-RAY | ebcdic-to-ascii-converter Summary

kandi X-RAY | ebcdic-to-ascii-converter Summary

ebcdic-to-ascii-converter is a Java library typically used in Utilities, File Utils applications. ebcdic-to-ascii-converter has no bugs, it has no vulnerabilities, it has build file available and it has low support. However ebcdic-to-ascii-converter has a Non-SPDX License. You can download it from GitHub, Maven.

This program allows to convert some source files from an EBCDIC format to an ASCII one. The input of this program is a directory containing the source files to be converted and the output is another directory containing all the converted source files. The input directory can contain a tree of sub-directory and this tree is kept in the output directory.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ebcdic-to-ascii-converter has a low active ecosystem.
              It has 20 star(s) with 28 fork(s). There are 21 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              ebcdic-to-ascii-converter has no issues reported. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ebcdic-to-ascii-converter is current.

            kandi-Quality Quality

              ebcdic-to-ascii-converter has 0 bugs and 0 code smells.

            kandi-Security Security

              ebcdic-to-ascii-converter has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ebcdic-to-ascii-converter code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ebcdic-to-ascii-converter has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              ebcdic-to-ascii-converter releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              ebcdic-to-ascii-converter saves you 177 person hours of effort in developing the same functionality from scratch.
              It has 437 lines of code, 32 functions and 6 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ebcdic-to-ascii-converter and discovered the below as its top functions. This is intended to give you an instant insight into ebcdic-to-ascii-converter implemented functionality, and help decide if they suit your requirements.
            • Main entry point
            • Parse the command line options
            • Prints usage information
            • Convert the source files into an ASCII file
            • Converts the given ebic input file into the output file
            • Loads the character content from the specified reader
            • Resize an array to a new size
            • Recursively lists all files in a directory and its subdirectories
            • Get charset by name
            • List files in a directory
            • Print an error message
            • Close a Closeable
            • Replace non printable characters by whitespace character
            • Logs a message and stack trace
            • Set the fixed length
            • Check option definition
            Get all kandi verified functions for this library.

            ebcdic-to-ascii-converter Key Features

            No Key Features are available at this moment for ebcdic-to-ascii-converter.

            ebcdic-to-ascii-converter Examples and Code Snippets

            No Code Snippets are available at this moment for ebcdic-to-ascii-converter.

            Community Discussions

            QUESTION

            Having trouble unpacking Comp-3 in .Net. There are letter characters aside from sign character inside Comp-3 value
            Asked 2021-Jan-05 at 02:15

            I am trying to import a Mainframe EDI File back to SQL Server using .NET and I am having problems unpacking some comp-3 fields.

            This file was from one of our clients and I have the Copy Book layout for the following fields:

            ...

            ANSWER

            Answered 2021-Jan-04 at 16:26

            First, PIC X is not Unicode in COBOL.

            Quoting myself from here...

            It is common for mainframe data to include both text and binary data in a single record, for example a name, a currency amount, and a quantity:

            Hopper Grace ar% .

            ...which would be...

            x'C8969797859940404040C799818385404040404081996C004B'

            ...in hex. This is code page 37, commonly referred to as EBCDIC.

            [...]Converting to code page 1250, commonly in use on Microsoft Windows, you would end up with...

            x'486F707065722020202047726163652020202020617225002E'

            ...where the text data is translated but the packed data is destroyed. The packed data no longer has a valid sign in the last nibble (the lower half of the last byte), the currency amount itself has been changed as has the quantity (from decimal 75 to decimal 11,776 due to both code page conversion and mangling of a big endian number as a little endian number).

            Likely your data was code page converted on transfer from the mainframe. If you know the original code page and the code page it was converted to, then you might be able to unscramble the packed data.

            I say might because, if you're lucky, the hex values you have will have been mapped one-to-one with hex values in the original code page. Note that it is common for both EBCDIC x'15' and x'0D' to be mapped to ASCII x'0D'.

            Source https://stackoverflow.com/questions/65559596

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ebcdic-to-ascii-converter

            1 - The only pre-requisite is to have a JVM (Java Virtual Machine) 6+. 2 - Download the ebcdic-ascii-converter-X.Y.jar archive 3 - Execute the following command to display the usage information : java -jar ebcdic-ascii-converter-X.Y.jar -h 4 - Lauch for instance the following command to convert all source files contained in dir1 and to put the converted files in dir2 : java -jar ebcdic-ascii-converter-X.Y.jar dir1 dir2.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/SonarSource/ebcdic-to-ascii-converter.git

          • CLI

            gh repo clone SonarSource/ebcdic-to-ascii-converter

          • sshUrl

            git@github.com:SonarSource/ebcdic-to-ascii-converter.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular File Utils Libraries

            hosts

            by StevenBlack

            croc

            by schollz

            filebrowser

            by filebrowser

            chokidar

            by paulmillr

            node-fs-extra

            by jprichardson

            Try Top Libraries by SonarSource

            sonarqube

            by SonarSourceJava

            sonar-java

            by SonarSourceJava

            eslint-plugin-sonarjs

            by SonarSourceTypeScript

            SonarJS

            by SonarSourceTypeScript

            SonarTS

            by SonarSourceShell