pure binary files in fortran on RS6000 (xlf)

Bradley T. Freese freese at dalvm41b.vnet.ibm.com
Sat May 25 04:52:15 AEST 1991


fn at 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.



More information about the Comp.unix.aix mailing list