Questions tagged [ebcdic]

Extended Binary Coded Decimal Interchange Code (EBCDIC) is a set of 8-bit character encodings.

Extended Binary Coded Decimal Interchange Code (EBCDIC) is a set of closely related 8-bit character encodings (code pages) used primarily on IBM mainframe operating systems such as z/OS, OS/390, VM and VSE, as well as IBM midrange computer operating systems such as OS/400 and i5/OS (see also Binary Coded Decimal).

208 questions
0
votes
2 answers

How to convert EEBCDIC file format to csv

I have a data file in .eic format and its hard to convert it to the readable format, any input will help. I have tried some of the online tools but in vain. Edit - Have added Database Hierarchy if this helps to convert 1 .eic file to 9 files. The…
kush thakkar
  • 25
  • 2
  • 7
0
votes
0 answers

Unable to run SerDe

We have one ebcdic sample file. It is stored in /user/hive/warehouse/ebcdic_test_file.txt Cobol layout of the file is stored in /user/hive/Warehouse/CobolSerde.cob We are running on Hue browser query editor. We also tried in CLI. But the same…
0
votes
2 answers

EBCDIC to ASCII not working Properly

I have to process a file which comes from mainframes. There are some Non-Latin text in the file. I have to process this Non-Latin characters for some invalid characters. As the mainframe encodes the data in EBCDIC format, I have to convert it to…
NJMR
  • 1,886
  • 1
  • 27
  • 46
0
votes
2 answers

Python and ebcdic decoding (zos 1047)

I have a function that should receive data in hex EBCDIC format and convert it to ASCII. For example, transforming the data, F1F1F0F0 should give me a 1100 in ASCII, or 31313030 in hex ASCII. What I've found is this: def…
Bogdan
  • 349
  • 1
  • 4
  • 15
0
votes
2 answers

Converting EBCDIC to ASCII file format- SerDe for hive. How to overcome issue of delimiter in EBCDIC file

There is nothing like /n in ebcdic. There is no support for new line in ebcdic. How should I convert that like. There is no delimiter in ebcdic. So while converting this file. How shall I know that new line has come? Suggestions please.
0
votes
2 answers

A portable regular expression for matching alphanumerics

I'm thinking about using the regular expression [0-9a-zA-Z]+ to match any alphanumeric string in the C++ standard library's regular expression library. But I'm worried about portability. Sure, in an ASCII character set, this will work, and I think…
user6300394
0
votes
3 answers

How do I convert EBCDIC to TEXT using Hadoop Mapreduce

I need to parse an EBCDIC input file format. Using Java, I am able to read it like below: InputStreamReader rdr = new InputStreamReader(new FileInputStream("/Users/rr/Documents/workspace/EBCDIC_TO_ASCII/ebcdic.txt"),…
Barath
  • 107
  • 2
  • 14
0
votes
1 answer

How to convert a Simple Java String to EBCDIC with packed decimal format

i have to convert all the data in file to EBCDIC with packed decimal format. all the data in the file is in simple text format. As per my knowledge we will need to convert the ASCII to EBCDIC Cp1047 or some other format first and then apply “packed…
Abhijit Marne
  • 65
  • 2
  • 3
0
votes
2 answers

handling comp3 and ebcidic conversion in java to ASCII for large files

I am trying to convert comp3 and EBCIDIC characters in my java code but im running into out of memory exception as the amount of data handled is huge about 5 gb. my code is currently as follows: byte[] data = Files.readAllBytes(path); this is…
BaN3
  • 435
  • 1
  • 3
  • 16
0
votes
1 answer

Bash read & parse file - loop performance

I'm trying to read a file, and parse it in bash. I need to do a dd to convert from EBCDIC to ASCII, then loop and read X bytes, piping each X bytes as a row in a new file: #!/bin/bash # $1 = input file in EBCDIC # $2 = row length # $3 = output…
Travis Liew
  • 787
  • 1
  • 11
  • 34
0
votes
4 answers

Standalone JMS to Mainframe MQ in EBCDIC

I am new to Websphere MQ (IBM z/OS) technologies. We had a requirement to implement a standalone application that uses JMS technology to connect to an MQ server (on IBM z/OS. This is maintained by a different organization for which we have only…
user4729907
0
votes
1 answer

how to unpack little or big endian in Convert::IBM390

I'm using Convert::IBM390 to convert EBCDIC files to ASCII files. #!/usr/bin/perl -w use warnings; use Convert::IBM390 qw(:all); open EBCDIC, " opening $!"; open ASCII, ">D:/ASCII.txt" or die "error -> opening…
lazy
  • 77
  • 1
  • 1
  • 7
0
votes
1 answer

how convert from Extended ASCII to EBCDIC and vice verse when page code is unknow

I have two arrays being used for converting from ASCII to EBCDIC and vice verse. The contex is: there is a MyMainframeApp running in UNIX and it only sends/receives files in EBCDIC. Such files have to be read from a MyWebApp in ASCII format,…
Jim C
  • 3,957
  • 25
  • 85
  • 162
0
votes
1 answer

EBCDIC to ASCII in RUBY

I have a EBCDIC file that was generated from a Mainframe and will need to convert it to ASCII for data processing. Any help would be appreciated.
PackedUp
  • 369
  • 5
  • 16
0
votes
1 answer

Are there ANTLR .stg template files available in different encodings?

I am trying to generate ANTLR (3.1.3) files on a local EBCDIC charset system. It appears the template files are in ASCII encoding. Do I have to convert all the template files by hand? Do I only need to worry about the files in the following…
Sam G
  • 11
  • 3