read binary file question

From: sarah (maggiew27_at_gmail.com)
Date: 03/24/05


Date: 23 Mar 2005 22:34:04 -0800

I have a question of reading binary file. I noticed that using two
"read" instead of put it into one "read":
               read(60) (Tyspec(j,i,n,mz),i=1,nspc+3),
     1 (Tyrate(j,i,n,mz), i=1, nspc+1),
     1 (((Atrans(mm,nn,kk,j,n,mz),mm=1,2),nn=1,2)
     1 ,kk=1,2)!,(TyJac(i,j,n,mz),i=1,(nspc+1)*2)
               read(60) (TyJac(i,j,n,mz),i=1,(nspc+1)*2)
will cause error message which says that "end-of-file during read". I
kind of understand it's because the "read" command will read some
header first, then there's not enought data to read.

For some reason, I do need to read those datas by using seperate
line(with some calculation in between). Is there a way to solve this?

Thanks in advance.
Sarsh