{"id":18896402,"url":"https://github.com/openmainframeproject/tersedecompress","last_synced_at":"2025-04-15T01:51:55.768Z","repository":{"id":53738976,"uuid":"169574098","full_name":"openmainframeproject/tersedecompress","owner":"openmainframeproject","description":"TerseDecompress is a java program that can be used to decompress files which have been previously compressed on an IBM Mainframe using the TERSE / AMATERSE program (on IBM z/OS or IBM z/VM).","archived":false,"fork":false,"pushed_at":"2025-01-09T14:38:20.000Z","size":76,"stargazers_count":22,"open_issues_count":5,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-15T01:51:49.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openmainframeproject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":"GOVERNANCE.md","roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-07T13:14:54.000Z","updated_at":"2025-03-13T18:24:17.000Z","dependencies_parsed_at":"2024-11-08T08:35:12.776Z","dependency_job_id":null,"html_url":"https://github.com/openmainframeproject/tersedecompress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmainframeproject%2Ftersedecompress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmainframeproject%2Ftersedecompress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmainframeproject%2Ftersedecompress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmainframeproject%2Ftersedecompress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openmainframeproject","download_url":"https://codeload.github.com/openmainframeproject/tersedecompress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991538,"owners_count":21194894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T08:33:46.564Z","updated_at":"2025-04-15T01:51:55.670Z","avatar_url":"https://github.com/openmainframeproject.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tersedecompress\n\nTerseDecompress is a java program that can be used to decompress files\nwhich have been previously compressed on an IBM Mainframe\nusing the TERSE / AMATERSE program (on IBM z/OS or IBM z/VM).\n\n## Purpose \u0026 benefit ##\n\nAs java programs can virtually run on any platform / operating system\nwith a JVM, this java decompression program can be very useful if you\ndon't have access to an IBM mainframe but need to analyze or process a\nfile which had been compressed on a IBM mainframe using TERSE on IBM z/OS.\nWith this java version of TerseDecompress, you can decompress those tersed\nIBM Mainframe files on any workstation or laptop etc. that supports Java.\n\n## Updates ##\n\n**Version 5: March 2021**\n\n- Support for variable length binary records. Variable length records processed in binary mode will be prefixed with a 4 byte field in the same format as the IBM RDW i.e. 2 byte record length field (including RDW length, big-endian) followed by 2 bytes of zeros.\n\n## How to run it ##\n\nFor execution, TerseDecompress needs a JVM runtime environment.\n\nUsage:\n\n```java -jar tersedecompress-5.0.0.jar [-b] tersed-file output-file```\n\nDefault mode is text mode, which will attempt EBCDIC -\u003e ASCII conversion.\n\nThe **-b** flag turns on binary mode, no conversion will be attempted.\n\n**Recommendation:** Use binary mode if possible. EBCDIC-\u003eASCII conversion is not a lossless process, unless the data strictly contains only characters that are common to both code pages used for the translation, **and** the original data does not contain line ending characters.  \n\n## How to build it ##\n\nTo build tersedecompress you need the Java JDK and Apache Maven.\n\nIn the project directory (the directory containing **pom.xml**):\n\n```mvn clean package```\n\n## Unit Tests ##\n\nThe project contains unit tests to verify that the decompression is correct.\n\nDue to the size of the test data, it is stored in a separate git repository and referenced via a submodule. The test data is not required to build tersedecompress, unless you want to run the unit tests.\n\nThe test data can be found here:\n[https://github.com/openmainframeproject/tersedecompress-testdata](https://github.com/openmainframeproject/tersedecompress-testdata)\n\nDescriptions of the data are here:\n[https://github.com/openmainframeproject/tersedecompress-testdata/tree/master/tests](https://github.com/openmainframeproject/tersedecompress-testdata/tree/master/tests)\n\n\n### Building with Unit Tests ###\n\n1. Initialize (download) the submodule containing the test data:\n```git submodule update --init```\n2. Build with unit tests:\n```mvn -DskipTests=false clean package```\n\n## How to report problems and get support/help ##\n\nIf you have a problem / need help with TerseDecompress.java, please create a GitHub issue.\n\nThere is also a Slack channel: [https://slack.openmainframeproject.org](https://slack.openmainframeproject.org) channel #tersedecompress\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmainframeproject%2Ftersedecompress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmainframeproject%2Ftersedecompress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmainframeproject%2Ftersedecompress/lists"}