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
0 answers

EBCDIC into Hex

I have a GUI where i try to convert a EBCDIC String into Hex, but i am getting the NumberforamtException. ebcdichex.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { ausgabe6.setText(""); …
Starlight
  • 5
  • 1
  • 6
0
votes
2 answers

Read header and footer from mainframe EBCDIC file

There are some solutions available to read the EDCDIC files like - https://github.com/rbheemana/Cobol-to-Hive, but this fails when the EDCDIC file contains rows with unequal offset length. I wrote MapReduce job to read EBCDIC files and convert to…
user491
  • 175
  • 1
  • 4
  • 20
0
votes
1 answer

How to convert character set to unicode in db2 query

Server: IBM i Series AS/400 running DB2 Client: Linux using unixodbc I have a table in a DB2 database with a column of data using CCSID 836 (Simplified Chinese EBCDIC). I want to get results in UTF-16 so they work on other systems, but I'm having a…
TheAmigo
  • 1,032
  • 1
  • 10
  • 29
0
votes
0 answers

Senda Data in Socket C#, format EBCDIC

I have to send a data in EBCDIC, the data original is: "180420300180000000000000001234561708291730008318700" The data string in EBCDIC (Excepts…
0
votes
0 answers

How to export VSAM file content to viewable in windows?

We have a VSAM (z/OS) file with text content. Am developing a java program to read and process this VSAM file using the IBM JZOS (FileFactory) library. This development is happening using Eclipse in Windows platform. I need to have the VSAM file in…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
0 answers

How do I transform byte to bits using SSIS?

I'm using SSIS to import several fields from a DB2 database on an IBM I-series. The fields are 1 character (1 byte) and each of the 8 bits represents a different flag, so 00000001 might mean the account is new, 10000000 might mean that a statement…
craday
  • 21
  • 3
0
votes
1 answer

Unpacking COMP-3 digit using Record Editor/Jrecord

I have created layout based on cobol copybook. Layout snap-shot: I tried to load data also selecting same layout, it gives me wrong result for some columns. I try using all binary numeric type. CLASS-ORDER-EDGE DIV-NO-EDG OFFICE-NO-EDG …
Rahul Patel
  • 307
  • 1
  • 9
  • 27
0
votes
2 answers

How do I identify the level of a field in copybook using JRecord in Java?

I am trying to read a EBCDIC file and convert it to ASCII format in Java, with a help of copybook. I am using JRecord to read the copybook. So now, how do I get the field level from the copybook using JRecord? Edit 1: Kindly excuse me for a vague…
0
votes
2 answers

Hex into EBCDIC

I have a GUI where i try to convert a EBCDIC String into Hexadecimal, but it will not work :/ ebcdichex.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { output6.setText(""); String…
Starlight
  • 5
  • 1
  • 6
0
votes
2 answers

How to use { } Curly braces in java-script function to be generated by RPG-CGI pgm

How to write a RPG-CGI program to generate a HTML page which contains a java-script program having function xxx() { aaaaaaaaaaaa; ssssssssss; }. When written in using Hex code constant it is being changed to some other symbol in the actual html code…
Nirmal
  • 115
  • 1
  • 1
  • 6
0
votes
1 answer

Printing byte array containing EBCDIC values doesnt give expected value

I created a string converted got a byte array using EBCDIC encoding from it. When I printed the array the value of H it is not the same found in EBCDIC chart. Expected output EBCDIC Value for "H"-->200 as per link EBCDIC 1047 chart Actual output…
0
votes
0 answers

Need streamread to read the same number of characters each time

I am working with a legacy text file that is in EBCDIC on an IBM mainframe. I have downloaded the file from the mainframe to my PC. The file contains packed data. I am working with VB.net. The issue is that some of the pack data's characters show…
0
votes
0 answers

What is a 'Control Field' in EBCDIC character sorting

The short of it is, I am on a project converting this legacy IBM mainframe system, written mostly in COBOL and HLASM - I hit certain things that are beyond my knowledge as a .Net Developer. I am replicating a table sorting procedure: The inputs are…
Cody Popham
  • 992
  • 5
  • 14
0
votes
1 answer

How can I install unsupported converters for iconv AIX?

I would like to install the appropriate converters so I could use iconv to convert EBCDIC Traditional chinese HKSCS to UTF-8 Traditional chinese HKSCS. Can I install the converters locally in AIX?
criz
  • 273
  • 1
  • 11
0
votes
1 answer

What are the different EBCDIC code pages for traditional chinese?

All I know is code page 937 for EBCDIC traditional chinese. CP937 The reason that I am asking is that I have an EBCDIC file that contains traditional chinese characters but have boxes and question marks when I load them to Oracle using ZHT16DBCS…
criz
  • 273
  • 1
  • 11