Date: Tue, 25 Jan 2000 15:10:00 +0000
Reply-To: Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Organization: Crawford Software Consultancy Limited
Subject: Re: EBCDIC readers?
Jesse Weiher <jessew@ruf.rice.edu> writes
>I have approx 8gigs of data written on an old VM machine. I only have
>access to Unix machines here.
>
>My data was written in EBCDIC with "packed decimal format" (I think this
>implies EBCPAC). I have written an extraction program that should correctly
>read the data using the $EBCDICw. format. However, approx. 90% of my data
>is lost due to errors.
>
>I want to get a text editor that can read EBCDIC and EBCPAC sequences so as
>to see whether my data is corrupt. It would be wonderful if this editor
>could convert the files into ASCII format as well.
>
>
>Does anybody know of such editors? Are there shareware/freeware versions of
>these
>
>Any help is appreciated.
If you have documentation of the data layouts,
you _may_ be better to use the $ebcdic and $s370Fxxx informats
(described in winXX online help)
Width Decimal Default
Informat Description Range Range Width
-------- ----------- ----- ------- -------
S370FIBw.d IBM 370 integer binary 1-8 0-10 4
S370FPDw.d IBM 370 packed decimal 1-16 0-10 1
S370FRBw.d IBM 370 real binary 2-8 0-10 6
S370FPIBw.d IBM 370 positive integer
binary 1-8 0-10 4
S370FZDw.d IBM zoned decimal 1-32 0-10 8
--
Peter Crawford
|