Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!agate!ucbvax!dalvm41b.vnet.ibm.com!freese From: freese@dalvm41b.vnet.ibm.com ("Bradley T. Freese") Newsgroups: comp.unix.aix Subject: pure binary files in fortran on RS6000 (xlf) Message-ID: <9105221902.AA08859@ucbvax.Berkeley.EDU> Date: 22 May 91 19:04:38 GMT Article-I.D.: ucbvax.9105221902.AA08859 Sender: daemon@ucbvax.BERKELEY.EDU Lines: 16 fn@fractal.math.yale.edu (Francois Normant) writes: > I'm trying to write pure binary files in fortran in order to read them in C. > On CRAY 2, I usually open an unformatted file > open(unit=70,status='new',form='unformatted',file='foo.out') > and call the setpure function to avoid any control characters > call setpure(70) > The question is: > Is there a function equivalent to setpure in xlf (RS6000 fortran) ? No, xlf does not have such a function. However, xlf does not add any extraneous characters to an unformatted file (other than an EOF record). It only writes the data you write to the file.