Is there a method or function within the PG family to get the size of a Fortran file?
Hi kevomac12,
“fstat” or “fstat64” is your best option. The file size in bytes will be put into element 8 of the “statb” array.
integer function fstat(lu, statb)
integer lu
integer statb(*)
integer function fstat64(lu, statb)
integer lu
integer*8 statb(*)
Hope this helps,
Mat