Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!ogicse!plains!hennebry From: hennebry@plains.NoDak.edu (Michael J. Hennebry) Newsgroups: comp.unix.cray Subject: Re: Unformatted data transfer.. Message-ID: <6363@plains.NoDak.edu> Date: 19 Oct 90 15:30:48 GMT References: <9171@helios.TAMU.EDU> Organization: North Dakota State University, Fargo Lines: 21 In article <9171@helios.TAMU.EDU> suray@cs.tamu.edu (Subhankar Ray) writes: >Hello Everyone, > >Here is a test program, where I was generating a file on YMP, named >ibm( good for IBM) and then I moved it to IBM (under >MVS/os) using binary ftp. But when I was trying to make an >unformatted read on IBM, it was >giving end of record ( or end of file depending on the recfm and lrecl >modified by IEBGENER). Am I missing something ? No doubt differences in IBM and Cray control information are causing the problem. If you give IEBGENER RECFM=U, it should be able to read just about anything. It will regard control info as just more data. U stands for undefined. Some time ago, perhaps still, unformatted IBM FORTRAN files had to be VBS, which means variable blocked spanned. Using IEBGENER to copy the file from RECFM=U to VBS will give you a file that you can examine with IBM FORTRAN and convert to something useful. -- Mike hennebry@plains.NoDak.edu "Got any grim reapers?" -- Norm