FOR1227S
locator-text Within the namelist group group-name in the namelist input file the variable var-name was not followed by an equal sign. VS FORTRAN Version 2 Error Number: AFB222I

Explanation

The namelist group group-name in the namelist input file contained the variable name var-name. However, this name was not immediately followed by the equal sign ( = ), which should separate the name and a value.

locator-text gives more information about the location of the error, and can be one of the following:
  • The statement statement for an internal file failed.
  • The statement statement for unit unit-number, which was connected to file-name, failed.

System action

The variable being processed and the remainder of the variables given in the namelist input file become undefined. 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: 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 10. In addition, there are these qualifying data:

No. Name Input/ Output Data Type and Length Value
5 group-name-desc Input Q_DATA_DESC The q_data descriptor for group-name. It contains the data type and the length of group-name.
6 group-name Input CHARACTER*n The namelist group name that contained the variable that wasn't followed by an equal sign. The length n is part of group-name-desc and has a maximum possible value of 255.
7 var-name-desc Input Q_DATA_DESC The q_data descriptor for var-name. It contains the data type and the length of var-name.
8 var-name Input CHARACTER*n Name of the variable that wasn't followed by an equal sign. The length n, which is part of var-name-desc, has a maximum possible value of 255 even if the variable name is actually longer.
9 record-desc Input Q_DATA_DESC The q_data descriptor for record. It contains the data type and the length of record.
10 record Input CHARACTER*n Formatted input record that contained the name that wasn't followed by an equal sign. The length n, which includes only the data portion of the record, is part of record-desc.
Name Action Taken after Resumption
RN The I/O operation is not complete, and execution continues.

Programmer response

Code the name-value pair in the form of the variable name followed by an equal sign followed by a value or values.

Symbolic Feedback Code

FOR1227