IOSTAT error codes for PGI Fortran?

Hi all,

I was looking for the IOSTAT codes for PGI Fortran (v 19.x). I glanced through the user guide but didn’t see them listed. In particular I’d like to know what code 207 is, but having all of them would be useful.

Thanks

Hi lorenaustin,

Runtime errors are listed in the PGI Reference Guide, see: https://www.pgroup.com/resources/docs/20.1/x86/pgi-ref-guide/index.htm#msg-fort-runtm-errs

In particular, error 207 is:

207 file is already connected to another unit

Hope this helps,
Mat