Re: Error reading unformatted file

From: David Frank (dave_frank_at_hotmail.com)
Date: 12/24/03

  • Next message: Dave Thompson: "Re: changing module files"
    Date: Wed, 24 Dec 2003 20:12:55 GMT
    
    

    "Nate Clark" <ntclark@attglobal.net> wrote in message
    news:3FE9DC98.6060102@attglobal.net...
    > Hi David,
    >
    > Thanks for the quick response.
    >
    > The following test program fails as described:
    >
    >
    > PROGRAM FTEST
    >
    > CHARACTER*8 HEAD1(110)
    >
    > OPEN(UNIT=15,FILE='WKTRNT00.KAZ',FORM='UNFORMATTED')
    >
    > READ(15) HEAD1
    >
    > STOP
    > END
    >
    >
    > I'm beginning to think that some intermediate program has indeed
    written
    > to these binary files and has written the data out in a different
    > sequence and/or chunk size of data.
    >
    >
    >

    Did you look at the switches file produced by:
    DF /help > DF.HLP

    /convert:keyword Specifies the format of unformatted files
    containing
                       numeric data.
                       Keyword is big_endian, cray, ibm, little_endian,
                       native, vaxd, vaxg.

    its probable one of above can be found that matches your file.


  • Next message: Dave Thompson: "Re: changing module files"