From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,77e17c255992ce2 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,77e17c255992ce2 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-05-05 00:17:00 PST Xref: sparky comp.os.vms:7605 comp.sys.dec:2257 Path: sparky!uunet!think.com!mips!mips!munnari.oz.au!bunyip.cc.uq.oz.au!covax.commerce.uq.oz.au!wood From: wood@covax.commerce.uq.oz.au (Malcolm Wood) Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: VMS to IBM 3090(EBCIDIC) info needed Message-ID: <1992Mar26.090712.9349@covax.commerce.uq.oz.au> Date: 26 Mar 92 09:07:12 AEST References: <1992Mar24.170445.215@lime.ems.com> <1992Mar25.120231.6388@rdg.dec.com> Organization: University of Queensland 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 --------------------------------------------------------------