FOR1007S
locator-text The input item was of type character, but the formatted input data did not begin with an apostrophe or with a quote. The input field was input-field. VS FORTRAN Version 2 Error Number: AFB238I

Explanation

For a READ statement, input-field is a character string that was interpreted as a character constant for list-directed input. input-field did not begin with an apostrophe or with a quote.

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

System action

The input item being processed and the remainder of the input items in the input item list are 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 8. In addition, there are these qualifying data:

No. Name Input/ Output Data Type and Length Value
5 input- field-desc Input Q_DATA_DESC The q_data descriptor for input-field; contains the data type and the length of input-field.
6 input-field Input CHARACTER*n Formatted input data; that is, the character string that is being interpreted as a character value. The length n is part of input-field-desc and has a maximum possible value of 255.
7 record- desc Input Q_DATA_DESC The q_data descriptor for record. It contains the data type and the length of record.
8 record Input CHARACTER*n Formatted input record that contained the character string being interpreted as a character value. The length n, which includes only the data portion of the record, is part of record-desc.
Name Action Taken after Resumption
RN The remainder of the input items in the input item list are ignored, and execution continues.

Programmer response

Ensure that input-field is delimited by apostrophes or quotes, and that the beginning and ending delimiters are the same.

Symbolic Feedback Code

FOR1008