FOR1924S
The statement statement for unit unit-number failed. The statement was executed from within an MTF parallel subroutine and referred to an unnamed file. Fortran Version 2 Error Number: AFB923I

System action

If neither the ERR nor the IOSTAT specifier is present on the I/O statement, the condition is signaled. If the condition is unhandled either in the parallel subroutine or in the main task program, the application is terminated.

Qualifying Data: Only the basic set of four qualifying data for I/O conditions as shown in Table 1. Within this basic set, file has a value of blanks, and parm_count has a value of 4.

Permissible Resume Actions:

Name Action Taken after Resumption
RN The I/O operation is not completed, and execution continues.

Programmer response

Change the MTF parallel subroutine so that the I/O statements refer only to named rather than to unnamed files. A file is an unnamed file in either of these cases:
  • The OPEN statement that connects the unit and the file has no FILE specifier.
  • The unit is seen as preconnected to a file because a sequential I/O statement is executed for the unit before an OPEN statement. (Except for the standard input unit, the error message unit, and the print unit, preconnected files don't exist in an MTF parallel subroutine.)

A file is a named file if the OPEN statement that connects the unit and the file has a FILE specifier. Therefore, in the parallel subroutine include the FILE specifier on each OPEN statement that's used to connect a unit to a file.

If the OPEN statement has no FILE specifier and you want that OPEN statement to refer to an existing connection between the unit and a file, then ensure that the unit is already connected to a file before the OPEN statement is executed. (Failure to observe this restriction could cause the OPEN statement to be interpreted as referring to an unnamed file.)

Symbolic Feedback Code

FOR1924