Go to main content
Oracle® Developer Studio 12.6: Fortran User's Guide

Exit Print View

Updated: July 2017
 
 

Runtime Error Messages

This appendix describes the error messages generated by the Fortran runtime I/O library and operating system.

A.1 Operating System Error Messages

Operating system error messages include system call failures, C library errors, and shell diagnostics. The system call error messages are found in intro(2). System calls made through the Fortran library do not produce error messages directly. The following system routine in the Fortran library calls C library routines which produce an error message:

        integer system, status
        status = system("cp  afile bfile")
        print*, "status = ", status
        end

The following message is displayed:

cp: cannot access afile
 status =  512