From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 101ec9,3fc781faf7dda498 X-Google-Attributes: gid101ec9,public X-Google-Thread: 10c949,3fc781faf7dda498 X-Google-Attributes: gid10c949,public X-Google-Thread: 1164f8,3fc781faf7dda498 X-Google-Attributes: gid1164f8,public X-Google-Thread: 110e3b,3fc781faf7dda498 X-Google-Attributes: gid110e3b,public From: rsmetana@ix.netcom.com (Rob W. Smetana ) Subject: Re: Need Help with reading PDP-11 (DEC) binary files w/ Visual Date: 1995/11/04 Message-ID: <47eboe$mma@ixnews6.ix.netcom.com>#1/1 X-Deja-AN: 118651782 references: <47e1qe$jm7@gazette.bcm.tmc.edu> organization: Netcom x-netcom-date: Fri Nov 03 4:22:38 PM PST 1995 newsgroups: comp.sys.dec,comp.sys.mac.programmer.help,comp.lang.basic.misc,comp.lang.basic.visual.misc >I'm trying to read a PDP-11 binary file using Visual Basic in Excel >on a Power PC 8500. I can read strings and integers fine, but long >integers and floating point numbers go haywire. Can someone tell me >what to do? > Have you determined what format they're stored in???? You might want to visit a Simtel/Garbo side (binedit, dbase, or database directories) and grab a copy of PDT (Pro~Formance Data Tool). Look for PDT_32.Zip (or later). PDT lets you view/edit any file -- up to 2 gigabytes. And you can "point" at fields and "define" their TYPE: integer, long, BCD, char., IEEE single/double, MS single/double, Binary, etc. Once you "define" fields, PDT lets you view/edit them in **normal decimal form!** (PDT saves edited fields back to disk in their native format). And once you define fields and save a file's "structure" to a file, PDT will **automatically** format your view of it whenever you open that file. PDT is ideal for viewing, editing, exploring, figuring out, merging, etc. files which other programs can't touch. It even lets you view/edit EBCDIC files downloaded from IBM mainframes. PDT may give you some clues as to why Excel can't handle it::: Microsoft switched from MS-coded to IEEE-coded numerics a few years back.