EBCDIC to ASCII conversion


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users EBCDIC to ASCII conversion
# 1  
Old 03-22-2019
EBCDIC to ASCII conversion

Hi,

We have a mainframe file which is in EBCDIC format.We dont have direct access to mainframe ,client has provided us the mainframe file.The mainframe file is containing pact data(COMP1 ,COMP2 etc) which are unreadble.Can anyone suggest me how to convert this kind of ebcdic file to ascii format(which are readble) through unix only.Any help in this regard will be highly appreciated.Thank
# 2  
Old 03-22-2019
Please read again the last of your previous thread:
EBCDIC to ASCII conversion
# 3  
Old 03-22-2019
We tried to help you in your earlier thread: EBCDIC to ASCII conversion. That thread was closed because you refused to answer any questions about the format of the file you want to process. (Note that EBCDIC is not a format; it is a character set. The format of your file is not a text file; it is a binary file containing some text and some binary data. Without knowing the format of your file there is no way for us to help you at all in any attempts to extract the text or the binary data included in any of the records in that file.)

Moderator's Comments:
Mod Comment WARNING Please read carefully. WARNING

If your next post in this thread does not provide details about the format of the data in your file, this thread will be closed.

If you open another thread on this same topic and do not provide details about the format of the data in your file, that thread will be closed and you will be banned from this site.
# 4  
Old 03-22-2019
On top of what Don Cragun said, the "Post Here to Contact Site Administrators and Moderators" is NOT an adequate forum for technical questions. You've been warned before, and now received a (warning) infraction.

Moderator's Comments:
Mod Comment Moved the thread to "UNIX for Advanced & Expert Users" for you.
# 5  
Old 03-22-2019
hi Don Cragun,

Im not sure about the file format.Its containing alphanumeric,special characters and out of keyboard characters. Copybook containing comp data.I have attached the sample input file for reference..
# 6  
Old 03-22-2019
Quote:
Originally Posted by swapna_1990
hi Don Cragun,

Im not sure about the file format.Its containing alphanumeric,special characters and out of keyboard characters. Copybook containing comp data.I have attached the sample input file for reference..
Where is the sample?
Was it meant to be an attachment? If so then it has not appeared.
# 7  
Old 03-22-2019
Quote:
Originally Posted by swapna_1990
hi Don Cragun,

Im not sure about the file format.Its containing alphanumeric,special characters and out of keyboard characters. Copybook containing comp data.I have attached the sample input file for reference..
Hi Swapna,
No. There is no copybook (whatever that is) attached to your last post. And there is no sample input file attached to your last post.

If you have the file and do not have the file format and are unable to determine the format by inspecting the data, why do you think that any of us who have never seen the data would have any chance of telling you how to decode it? Our crystal balls do not provide enough magic for us to be able to reliably guess at which bytes in records of unknown size refer to what in the unknown number of data fields in those records containing information about whatever they are intended to contain.

If you are not sure about the file format, contact your customer and get the file format from them. Without knowing the format of the data in the file you are processing, we do not have the information required to be able to help you do anything with your file.

Get the file format from you customer and then add a post to this thread that clearly defines that file format. Then we might be able to help you. Without you and us knowing the file format, there is nothing we can do to help you.

Against my better judgement, I am going to leave this thread open to give you one final chance to tell us the format of the file(s) you will be processing.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

EBCDIC to ASCII conversion

Hi, I have a input file which is EBCIDIC and it has packed decimals. Can anyone help me to convert EBCIDIC file to ASCII(Need to convert even Packed decimal values also to normal format). Thanks swapna (12 Replies)
Discussion started by: swapna_1990
12 Replies

2. Shell Programming and Scripting

Need help for EBCDIC TO ASCII conversion through UNIX

Hi All , We have a mainframe file which is in EBCDIC format.We dont have direct access to mainframe ,client has provided us the mainframe file in unix box.The mainframe file is containing pact data(COMP1 ,COMP2 etc) which are unreadble.Can anyone suggest me how to convert this kind of ebcdic... (7 Replies)
Discussion started by: STCET22
7 Replies

3. UNIX for Advanced & Expert Users

Conversion from EBCDIC to Ascii OR unicode

I have a file in my Unix ( SOLARIS ) with EBCDIC format...I want this file to read in ASCII OR unicode...Is it possible with UNIX to convert this file on ASCII OR UNICODE format from EBCDIC format? I was searching through web and found only conversion table :( Request Rejected Below is... (16 Replies)
Discussion started by: joshilalit2004
16 Replies

4. UNIX for Dummies Questions & Answers

EBCDIC TO ASCII Conversion through UNIX Command

Hi All , I have a mainframe file which contains the data in EBCDIC unreadable format.I have downloaded this raw unreadable file from mainframe system to windows in text format then I pushed to Unix system.Now I want to convert this file to ASCII readable format file in unix.Can anyone advise me... (2 Replies)
Discussion started by: STCET22
2 Replies

5. Programming

Ebcdic to ascii

Hi, I want to convert ebcdic values to ascii values. Are there anyany specific c++ libraries with g++ compiler, which can do it ? gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) (19 Replies)
Discussion started by: tostay2003
19 Replies

6. UNIX for Advanced & Expert Users

Conversion of data - ebcdic to ascii

Hi, I want to convert ebcdic values to ascii values. Are there anyany specific c++ libraries with g++ compiler, which can do it ? gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) (0 Replies)
Discussion started by: tostay2003
0 Replies

7. Shell Programming and Scripting

EBCDIC Format to ASCII

Hi, we have source file with EBCDIC format(Main Frame files) where we receving from source system. I would like to convert the EBCDIC format file to unix systemformat(ex: .csv,txt ) I have wrote script like: dd if=<SRCPATH>yyy.xxx.RB065 of=<SRCPATH>/output.csv ibs=800 cbs=80... (8 Replies)
Discussion started by: koti_rama
8 Replies

8. Solaris

EBCDIC to ASCII Binary conversion issue on Solaris i-series Unix

Hi All, I am facing EBCDIC to ASCII Binary conversion on Solaris i-series Unix system. However this is working fine on Solaris Sparc Unix system. Input file having EBCDIC format does not work on Solaris i-series Unix system. Could you please tell me, what will be the root cause for same? (14 Replies)
Discussion started by: amodkavi
14 Replies

9. UNIX for Dummies Questions & Answers

Conversion from EBCDIC to ASCII

when i try to convert a mainframe EBCDIC file to ASCII ,i dont see correct file this is the source file ... (3 Replies)
Discussion started by: venkatvelpula
3 Replies

10. Shell Programming and Scripting

ascii to ebcdic conversion

Hello, I need a program for ascii to ebsdic conversion. If anybody can help, it'll be greatly appreciated. Thanks. (1 Reply)
Discussion started by: er_ashu
1 Replies
Login or Register to Ask a Question