Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: meek@skyway.usask.ca
Subject: RE: "Unformated" data in g77 between Intel & ALpha
Date: 1998/10/15	[thread overview]
Message-ID: <15OCT98.15124635@skyway.usask.ca> (raw)
In-Reply-To: 704r95$3gp$1@fddinewz.oit.unc.edu



  Here is what I use to write "real" binary files in the DEC-ALPHA
 to be transferred by FTP binary mode to DOS.

        integer*1 block(8000)

          open(17,file=fname,form='unformatted',recl=2000,
     1  recordtype='fixed',access='sequential',status='new')

         Write(17)block

There are no extra "record mark" (or whatever) bytes in the o/p.


I haven't found any way to go from DOS to ALPHA other than
by FTPing from DOS to ALPHA in binary mode and reading
512 bytes at a time into a circular store while stripping off the
(pre-known) "real"  record lengths. What a pain ! but after you
have written the subroutine - just feed it the "real" record length
and it's easy.

chris



      reply	other threads:[~1998-10-15  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-14  4:00 "Unformated" data in g77 between Intel & ALpha G. Hugh SONG
1998-10-13  4:00 ` Greg Lindahl
1998-10-14  4:00   ` G. Hugh SONG
1998-10-14  4:00     ` Greg Lindahl
1998-10-15  4:00 ` Eric Frey
1998-10-15  4:00   ` meek [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox