1753802 Members
7935 Online
108805 Solutions
New Discussion юеВ

Re: 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 2
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?)
Eric Jacklin
Regular Advisor

Re: Convert file Ascii

thx