🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #4609

Re: ASCII/EBCDIC Translation

#4609
From: Lindsay Cleveland
Date: Sun, 10 Jan 1988 16:22
26 lines
1370 bytes
Perhaps I missed some earlier part of this discussion, but whenever
I've needed to do ASCII <-> EBCDIC conversion, I've found that the
"dd" command works just fine, especiallly since it will also takes
care of the IBM need for fixed-length records (punched-card
images), or will strip off trailing blanks when going from
fixed-length IBM records to UNIX files.  Likewise, there are some
IBM applications which require that the input is in upper-case
characters, which "dd" also handles.

Case 1:
  dd if=ascii.file of=card.image conv=ebcdic cbs=80
 or
  dd if=ascii.file of=card.image conv=ibm,ucase cbs=80


Case 2:
  dd if=card.image of=ascii.file conv=ascii cbs=80

Excuse me if I am restating that which has already been said.

Cheers,
  Lindsay

Lindsay Cleveland         Digital Systems Co.   Atlanta, Ga
  gatech!dscatl!lindsay     (404) 497-1902
                         (U.S. Mail:  PO Box 1140, Duluth, GA  30136)
Technical Details
Message-ID: <3089@dscatl.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!gatech!dscatl!lindsay
References: <425@minya.UUCP> <1987Dec15.101835.3795@jarvis.csri.toronto.edu> <76KEN@ORION>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!gatech!dscatl!lindsay
From: lindsay@dscatl.UUCP (Lindsay Cleveland)
Newsgroups: comp.mail.misc
Subject: Re: ASCII/EBCDIC Translation
Summary: dd conv=ebcdic
Message-ID: <3089@dscatl.UUCP>
Date: 10 Jan 88 16:22:51 GMT
References: <425@minya.UUCP> <1987Dec15.101835.3795@jarvis.csri.toronto.edu> <76KEN@ORION>
Organization: Digital Systems Co. , Atlanta
Lines: 26