Re: Convert file Ascii (44 Views)
Reply
Regular Advisor
Eric Jacklin
Posts: 159
Registered: ‎10-04-2006
Message 1 of 3 (44 Views)

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

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,944
Registered: ‎03-06-2006
Message 2 of 3 (44 Views)

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?)
Please use plain text.
Regular Advisor
Eric Jacklin
Posts: 159
Registered: ‎10-04-2006
Message 3 of 3 (44 Views)

Re: Convert file Ascii

thx
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation