The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UTF-8 to EBCDIC conversion in UNIX sridhar_423 UNIX for Advanced & Expert Users 4 04-13-2009 09:48 AM
Conversion from EBCDIC to HEX Indalecio UNIX for Dummies Questions & Answers 1 02-06-2009 07:34 AM
ascii to ebcdic conversion er_ashu Shell Programming and Scripting 1 02-01-2008 05:43 PM
EBCDIC to ASCII conv for packed decimals. videsh77 UNIX for Dummies Questions & Answers 3 05-12-2007 02:14 PM
Unix to EBCDIC conversion Bab00shka UNIX for Dummies Questions & Answers 2 01-20-2005 12:58 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-26-2009
venkatvelpula venkatvelpula is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 1
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


Code:
ÈðñÃÁÂÅãÄÆÒññõøøÃÁÔâ@@@@@@@@@@@@@@@@...@@@@@@@@ðóöòñò

target file with few weird characters:-


Code:
H01CABETDFK11588CAMS                                                                                                                                                              
                                                          H02BETALNING           20091023       ¦Æ                                                                                
                                                                                                                         10P0000957048                     19981101        0366102
51958  FYPNA  STFOONPNA  10750 1 Niklas Sandstr|m            P0003680554                                                                                                          
 10P0004419382                     19980124        036212310137  FYPNA  STFOONPNA  10570 1 Lars Liljeqvist             P0003398257                                                
                                                           10P0003454348                     19980124        034105072138  FYPNA  STFOONPNA  10790 1 Ulrik Ringborg              P
0001851751                                                                                                           10P0002243745                     19990216        01671208293
9  FYPNA  STFOONPNA  10710 1 Stefan Carlsson             P0003761437                                                                                                           10P
0004563278                     19980124        035607177655  FYPNA  STFOONPNA  10550 1 Kent Viklund                P0002966188                                                    
                                                       10P0000708441                     19980124        035809293110  FYPNA  STFOONPNA  10790 1 Maximiliano Zapata Carvallo P0003
115417                                                                                                           10P0005470608                     19991224        036811093050  F
YPNA  STFOONPNA  10650 1 Rutger Niklasson            P0006115944                                                                                                           10P0004
692281                     19980124        034511020655  FYPNA  STFOONPNA  10630 1 Bj|rn Sj|holm               P0002187277                                                        
                                                   10P0007152400                     20010710        036204096280  FYPNA  STFOONPNA  10590 1 Marja Ohlsson               P00068776
67                                                                                                           10P0011115830                     19980124        037107037066  FYPNA
  STFOONPNA  10750 1 Olga Tchernycheva           P0003999441                                                                                                           10P00121037
04                     19990119        038108052773  FYPNA  STFOONPNA  10730 1 TIM MIC J#DER$S             P0005441587                                                            
                                               10P0012571286                     19980124        035003088514  FYPNA  STFOONPNA  10790 1 Lars Burstedt               P0002526565  
                                                                                                         10P0013069012                     19980124        015408065638  FYPNA  ST
FOONPNA  10630 1 Nils-$ke Gustafsson         P0002833765                                                                                                           10P0013725504  
                   20071121        037412180882  FYPNA  STFOONPNA  10630 1 Helen Tewolde Beyenne       P0008577288                                                                
                                           10P0014322873                     19980124        033909251914  FYPNA  STFOONPNA  10750 1 Arne Anshed                 P0001758460      
                                                                                                     10P0014369043                     19980330        036406128253  FYPNA  STFOON
PNA  10510 1 Peter Jansson               P0004708439                                                                                                           10P0014465434      
               19990423        037903264963  FYPNA  STFOONPNA  10810 1 Therese Bilger              P0005829845                                                                    
                                       10P0014615929                     20000828        038211240190  FYPNA  STFOONPNA  10570 1 Henrik Larsson              P0006564452          
                                                                                                 10P0014665365                     20090519        012608120172  FYPNA  STFOONPNA 
 10790 1 Lennart Tegman              P0008973342                                                                                                           10P0014722089          
           19980124        035505246255  FYPNA  STFOONPNA  10590 1 Lennart Johansson           P0002887017                                                                        
                                   10P0014751933                     20000131        036601016006  FYPNA  STFOONPNA  10750 1 Naima Serifi                P0006134050              
                                                                                             10P0014775043                     20090804        012607042138  FYPNA  STFOONPNA  107
50 1 G|sta Cederin               P0009013021                                                                                                           10P0014818005              
       20080603        035901090117  FYPNA  STFOONPNA  10790 1 H}kan Cederberg             P0008691018                                                                            
                               S990000002320091023      ¦Æ

I am using dd if=infile of=outfile conv=ascii.
Please help me with this and how to get correct file with 23 records as of now it shows like single line.

Thanks,
Velpula.

Last edited by zaxxon; 10-26-2009 at 08:56 AM.. Reason: code tags!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0