ebcdic Questions
2
Solved
How do you use the RecordEditor to Generate Java~JRecord code
from a Cobol Copybook to read/write a Binary EBCDIC Mainframe File.
This a Question and answer to try an prevent some poor/misleading ...
1
Solved
I'm a very experienced C programmer, but recently I came across some code on a mainframe that has a local variable. This is in a simple C function that declares this variable, and then strcpy / str...
2
Solved
I am using Jon Skeet's EBCDIC implementation in .NET to read a VSAM file downloaded in binary mode with FTP from a mainframe system. It works very well for reading/writing in this encoding, but it ...
4
Solved
In the code, a switch is used to convert letters to contiguous values. Optimizing compilers in general won't do the job as well as the simple contiguous digit condition right before the switch. How...
Heinrich asked 20/7, 2020 at 21:27
3
Solved
I have a file that was converted from EBCDIC to ASCII. Where there used to be new lines there are now characters that show up as <85> (a symbol representing a single character, not the four c...
7
I have a value in EBCDIC format "000000{". I want to convert it into a.Net Int32 type. Can anyone let me know what I can do about it?? So my question is given a string that contains a signed numeri...
10
Solved
I need to write a 'simple' util to convert from ASCII to EBCDIC?
The Ascii is coming from Java, Web and going to an AS400. I've had a google around, can't seem to find a easy solution (maybe coz ...
Hallett asked 15/12, 2008 at 14:55
4
Solved
I have huge mainframe file and there are some packed digits in that file. I would like to know how to unpack following digit using java?
packed digit : ?
I read tutorials for unpacking digits and...
Abad asked 3/12, 2013 at 4:17
2
Solved
I am supposed to convert an EBCDIC file to ASCII by using Java. So far I have this code:
public class Migration {
InputStreamReader reader;
StringBuilder builder;
public Migration(){
try {
...
Desman asked 3/12, 2013 at 11:9
1
Solved
I am working on converting a string from one charset to another and read many example on it and finally found below code, which looks nice to me and as a newbie to Charset Encoding, I want to know,...
Bowlds asked 16/4, 2015 at 7:22
2
Solved
I'm making a C# program that will be able to dynamically read an IBM HOST Copybook written in COBOL and generate an SQL table off of it. Once the table is generated I can upload a file into my prog...
2
Solved
I'm being passed data that is ebcdic encoded. Something like:
s = u'@@@@@@@@@@@@@@@@@@@ÂÖÉâÅ@ÉÄ'
Attempting to .decode('cp500') is wrong, but what's the correct approach? If I copy the string in...
Hanleigh asked 31/1, 2016 at 8:40
4
Solved
new here!
Situation:
I'm working on a project which needs to communicate with an AS/400 server. My task is to basically handle the requests which will be sent to the AS/400 server. To do this, all...
Outgeneral asked 26/6, 2012 at 15:7
4
I am having a flat file which is pulled from a Db2 table ,the flat file contains records in both the char format as well as packed decimal format.how to convert the packed data to a java string.is ...
1
Solved
How can I convert a mainframe binary file (EBCDIC) having cobol copybook as record layout information to ASCII file by keeping in mind regarding the packed and zoned decimal format using any Java A...
2
More then a year ago I asked about reading DB2 EBCDIC data in a .Net program. The amazingly helpful answer included a routine for reading VARCHAR columns.
I am now faced with reading CLOB columns....
2
Solved
Is there a character set other than EBCDIC that is not a superset of 7-bit ASCII?
Irradiance asked 30/6, 2011 at 8:3
2
Solved
I have to prepare a file for an outside entity, and this entity uses an IBM mainframe with COBOL and requires the file to be encoded in EBCDIC. I am creating the file in C#. I guess this is a two-p...
Segalman asked 16/5, 2011 at 19:47
3
Solved
Here is one for the old(er) hands :-)
I'm reading a binary dump from a mainframe DB2 table. The table has varchar, char, smallint, integer and float columns. To make it interesting, the DB2 uses c...
4
Our requirement is to send EBCDIC text to mainframe. We have some chinese characters thus UTF8 format.
So, is there a way to convert the UTF-8 characters to EBCDIC?
Thanks,
Raj Mohan
1
© 2022 - 2024 — McMap. All rights reserved.