FOR1389S
The OPEN statement could not connect unit unit-number to file-name. The RECL specifier had a value of recl, which was not within the range 1 to 32760, inclusive. Fortran Version 2 Error Number: AFB233I

System action

If the unit is other than the error message unit, the unit is no longer connected to a file. If neither the ERR nor the IOSTAT specifier is present on the I/O statement, the condition is signaled. If the condition is unhandled, 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, statement has a value of READ, and parm_count has a value of 5.

No. Name Input/ Output Data Type and Length Value
5 record-length Input/ Output INTEGER*4 Value of the RECL specifier on the OPEN statement.

Permissible Resume Actions:

Name Action Taken after Resumption
RN The OPEN statement is not completed, and execution continues. The remainder of the deallocation list is processed and execution continues.
RI The value placed in record_length is used as the new value for the RECL specifier, and execution continues.

Programmer response

Ensure that the value of the RECL specifier on the OPEN statement is an integer that is neither less than 1 nor greater than 32760. In addition, ensure that this value is the same as the value that's associated with the file through one or more of the following, as applicable:
  • The label of an existing data set
  • The LRECL parameter of the DD statement or ALLOCATE command
  • The LRECL value given in an invocation of the FILEINF callable service
  • The record length given in the RECORDSIZE parameter of the Access Method Services DEFINE command that was used to define the VSAM cluster.

Symbolic Feedback Code

FOR1389