I am working on improving error handling in my codes, and have ran into some questions:
1) When reading a file, I want to check “iostat” values to see whether EOF is reached (IVF seems to set "iostat=-1" for EOF condition).
Is there some named/parameterised value that can be used instead of hardcoding "-1"?
I’d like something similar to "FOR$IOS_ENDDURREA" (forrtl=24), but for iostat values instead.
And some follow on questions - would appreciate some general guidance: