Conversion from EBCDIC to Ascii OR unicode


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Conversion from EBCDIC to Ascii OR unicode
# 8  
Old 01-27-2015
Below is the output from dd

Code:
16499373+1 records in
16499373+1 records out
8447679135 bytes (8.4 GB) copied, 286.2 seconds, 29.5 MB/s

Why I was saying it is ebcdic as it was there in DML of the source in abinition ( abinitio is a ETL tool like INFORMATICA )...DML is basically the definition of source with what format and filed etc....

Code:
---------- Post updated at 06:01 AM ---------- Previous update was at 05:46 AM ----------

Below is the output from dd:
16499373+1 records in
16499373+1 records out
8447679135 bytes (8.4 GB) copied, 286.2 seconds, 29.5 MB/s

Why I was asking it is EBCDID as it is mentioned in the DML of ABINITIO source (DML in my last reply)... ABINITIO is a ETL tool as INFORMATICA and source DML describes the source functionalists like number of columns, format etc...

Code:
---------- Post updated at 06:02 AM ---------- Previous update was at 06:01 AM ----------

Below is the output from dd

16499373+1 records in
16499373+1 records out
8447679135 bytes (8.4 GB) copied, 286.2 seconds, 29.5 MB/s


Why I was saying it is ebcdic as it was there in DML of the source in abinition ( abinitio is a ETL tool like INFORMATICA )...DML is basically the definition of source with what format and filed etc....

Code:
---------- Post updated at 06:01 AM ---------- Previous update was at 05:46 AM ----------

Below is the output from dd:
16499373+1 records in
16499373+1 records out
8447679135 bytes (8.4 GB) copied, 286.2 seconds, 29.5 MB/s

Why I was asking it is EBCDID as it is mentioned in the DML of ABINITIO source (DML in my last reply)... ABINITIO is a ETL tool as INFORMATICA and source DML describes the source functionalists like number of columns, format etc...
# 9  
Old 01-27-2015
What keeps you from posting (a meaningful portion of) your data file so we can have a look? Obscure classified data if need be.
# 10  
Old 01-27-2015
Actually the data is in format which is different so it looks strange...I just coiped few lines as below:

md-co6:crtgs000:curtfin>more /opt/stage01/CuRT/consumer/DATA_source/so_tran05.dat
ÃÄæãÙðõðãÙðõððñÖòðñóñððø@@@@Åâãðððððñðøðòðñøñðòôðððððððððð@@@@@@@@@@@@@@@@@@@@@@@@@@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ðò@@@@@@òñøÄóõñððòñðò@@@@@ñðñòøññôñóððññðñõñøöùôò@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@×@ðñòñøÄóõñððòñðò @@@@@@P<÷òðñøñðòôÕðððððôØÃðñðòÂ@@@@@@@@@@@ÁððððððððòððøñððòñÆÂ@@òððøñððò@@@@
@@@@@@@@@@@@@@@ðððÕòôóò@@@@@@@@@@@@@@@@@@@@@@@øùõð÷ôððò@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ñÆÂ@@@@@@@ñòóÁñòó@@@ÕÄðùðñ@@@@@@@@
@@@@@@@@@@@@Õæ@@@@@@@@@@@@@@@@ÅÕ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ððððððððäâ@@@@@@@@èÑ ÉÔ@ÒÖåÕÁÄÁ@ñ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Õ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@èñð@ÄÁãÁ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Õ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@èÖÔÁÈÁ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@èÕÅ@@@@@@@@èöøñðò@@@@ÕÕÕÕÕ
aÁÕaÁÂ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ðððððððð@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ðððððððððððððððð@@@@@@@@ðððððððððððððððð@@@@@@@@@ @@@@@@@@òñøÄóõñððòñðò@@@@@@òñøÄóõñððòñðò@@@@@ñðñòøññôñóððññðñõñøöùôò@òñøÄóõñð
ðòñðò@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ðòòñøÄó
õñððòñðò@@@@@@P<L÷òðñøñðòôÕðððððôØÃðñðòÂ@@@@@@@ððððððððòððøñððòÔÕñÆÂ@@É@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@ñÆÂ@@ðððððððððð@@@@ðððððððððð@@@@ðððððððððð@@@@@@@@@
@@@ððñðòððøñððòñÆÂ@@ðððFÉFy^L@@@@@ñòóÁñòó@@@òñøððð@@ððð@@@ððð@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ðððððððððððððððð@@@@@@@@@@@@@
# 11  
Old 01-27-2015
Sorry - didn't mean "post" but "attach" which is offered when you "Go Advanced".
# 12  
Old 01-27-2015
I tried to attach the file but it failed....

Last edited by joshilalit2004; 01-27-2015 at 07:29 AM..
# 13  
Old 01-27-2015
Moderator's Comments:
Mod Comment Posting "Does not work" without explanation does not help you or anyone. If a command does not work for you, please show the exact circumstances you used it, and the exact error or malfunction you received.

Thank you.

The UNIX and Linux Forums
# 14  
Old 01-29-2015
I understand that my explanation was not that correct for you, but there is something which I can not write in words.. Smilie

i am working on this from INFORMATICA level, n hope I will get success....

Will keep this forum updated... thanks much for help....
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, 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... (11 Replies)
Discussion started by: swapna_1990
11 Replies

2. 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

3. 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

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. UNIX for Dummies Questions & Answers

Help! EBCDIC format to ASCII

Hi everyone, I have a 70MB EBCDIC file, with record length 102, block size 32742 and IBM standard label. I commanded dd if=input file of=outputfie ibs=32742 cbs=102 conv=ascii but I still don't get a viewable file under ASCII. Can anyone told me what's the problem? Do I need... (12 Replies)
Discussion started by: hrchl86
12 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