Showing results for 
Search instead for 
Do you mean 

Convert file Ascii

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
Acclaimed Contributor 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
Regular Advisor

Re: Convert file Ascii

thx