cancel
Showing results for 
Search instead for 
Did you mean: 

Convert file Ascii

Eric Jacklin
Regular Advisor

Convert file Ascii

Hi

Would you please guide me how should i convert EBCDIC format to ASCII format.
Would you please help me by providing the command for the same.

I want to achive
1)Convert EBCDIC format to ASCII format.
2)want to convert Convert carriage return value

2 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Convert file Ascii

You can use dd(1):
dd if=ifile of=ofile conv=ascii

This assumes variable length records terminated by EBCDIC newlines. If not, you need provide more info. Record sizes, etc.
(Possibly using conv=ibm?)
Highlighted
Eric Jacklin
Regular Advisor

Re: Convert file Ascii

thx