From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,fda3217e18b6a745,start X-Google-Attributes: gidf7344,public X-Google-Thread: f7cd1,fda3217e18b6a745,start X-Google-Attributes: gidf7cd1,public X-Google-Thread: fc7fa,fda3217e18b6a745,start X-Google-Attributes: gidfc7fa,public X-Google-Thread: 1164f8,fda3217e18b6a745,start X-Google-Attributes: gid1164f8,public From: brydon@physics.utexas.edu Subject: read VAX f_float binary on other platforms Date: 1998/05/26 Message-ID: <6kf0vj$dlq$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 356689719 X-Http-User-Agent: Mozilla/3.0 (X11; I; SunOS 4.1.4 sun4m) Organization: LANL X-Article-Creation-Date: Tue May 26 18:17:23 1998 GMT Newsgroups: comp.os.vms,comp.sys.dec,comp.sys.vms,vmsnet.misc I have a huge archive of binary data files mixing string, integer, and floating point data that we we would like to read on other platforms. The integers and strings are not a problem. The floating point is F_FLOAT format. I would like a C routine that could read these numbers and make them available on other machines. XDR seems to be able to read the native and go to XDR, but I don't think it can be told the file is F_FLOAT and then convert to XDR. CDF seems like it might be able to do this type of thing, but haven't learned yet. One possible solution is to write the data to XDR on the openVMS machine, and then can read the XDR format anywhere else. If anyone has written XDR binary on VMS, pointers would be great. Any help much appreciated. Thanks, D -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading