Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wood@covax.commerce.uq.oz.au (Malcolm Wood)
Subject: Re: VMS to IBM 3090(EBCIDIC) info needed
Date: 26 Mar 92 09:07:12 AEST	[thread overview]
Message-ID: <1992Mar26.090712.9349@covax.commerce.uq.oz.au> (raw)
In-Reply-To: 1992Mar25.120231.6388@rdg.dec.com

On EBCDIC conversion-

I wrote a one-page COBOL program (quite an achievement in itself! :-)
which read EBCDIC and wrote ASCII; obviously only a minor mod is 
needed to do the reverse.

This was several years ago and I discarded the program; it was trivial 
anyway. Go through the COBOL reference manual. Off the top of my 
head I recall using statements like this:
...
SPECIAL-NAMES.
    ALPHABET EBBLES IS EBCDIC.
...
FD IN-FILE ...
    RECORDING MODE IS EBBLES.

And the PROCEDURE DIVISION was a simple READ then WRITE until end of 
file on input.

There's probably an even easier way to do it than this...

--------------------------------------------------------------
Malcolm Wood, Department of Commerce, University of Queensland
--------------------------------------------------------------


  parent reply	other threads:[~1992-03-25 23:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-03-24 23:04 VMS to IBM 3090(EBCIDIC) info needed mjb
1992-03-25 12:02 ` Jari Tavi
1992-03-25 22:25   ` Bernhard Fabricius
1992-03-31  5:18     ` Jari Tavi
1992-03-25 23:07   ` Malcolm Wood [this message]
1992-03-27  5:16     ` David Karl Leikam
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox