C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

Effect
The CRE can report this error when it closes your input file. All other instances are language and
application dependent.
Recovery
If the error was caused by a read request from your program, correct your program. You might
need to ensure that your program handles conditions that are beyond your control such as losing
a path to the device. Also refer to error handling in this manual and in the language manual for
the routine in your program that detected the error.
If the error was caused by a read request from the CRE, consult your system administrator.
If the error was caused during program initialization, specify an acceptable input file when
executing your program.
60
Standard output file error ( error ) Unable to open filename
Cause
The file system reported an error when the CRE called a file system procedure to access standard
output. error is the file-system error number.
Unable to open filename appears when the C run-time library cannot open the standard
output file during program initialization. filename shows the name for which the open operation
failed.
Effect
The CRE can report this error when it closes your output file. All other instances are language
and application dependent.
Recovery
If the error was caused by a write request from your program, correct your program. You might
need to ensure that your program handles conditions that are beyond your control such as losing
a path to the device. Also refer to error handling in this manual and in the language manual for
the routine in your program that detected the error.
If the error was caused by a write request from the CRE, consult your system administrator.
If the error was caused during program initialization, specify an acceptable output file when
executing your program.
61
Standard log file error ( error ) Unable to open filename
Cause
The file system reported an error when the CRE called a file system procedure to access the
standard log file. error is the file system error number.
Unable to open filename appears when the C run-time library cannot open the standard
log file during program initialization. filename shows the name for which the open operation
failed.
Effect
The CRE terminates your program.
Recovery
Consult your system administrator.
If the error was caused during program initialization, specify an acceptable log file when
executing your program.
376 Run-Time Messages