FOR0121S
The FILEINF callable service failed. The argument in position position of the argument list was not one of the character values that the FILEINF callable service understands as an argument. VS FORTRAN Version Error 2 Number: AFB096I-2

Explanation

Position position of the argument list for the FILEINF callable service was not a character expression whose value was one of the permissible keyword arguments. These permissible keyword arguments are values such as RECFM, CYL, and so on.

System action

The condition is signaled. If the condition is unhandled, the application is terminated. However, if the RN action listed under “Permissible Resume Actions” is taken to resume execution following the call, then the file information provided is ignored, and error FOR1926 is detected during execution of a subsequent OPEN or INQUIRE statement. Detection of error FOR1926 can be suppressed if, following the failing call to the FILEINF callable service, another call is made either with no arguments or with arguments that don't cause another error to be detected.

Qualifying Data: None

Permissible Resume Actions:

Name Action Taken after Resumption
RN The service is ignored, and execution resumes. Refer to “System Action” regarding the detection of error FOR1926 following this resumption.

Programmer response

Correct the argument list by coding the first argument as an integer variable and the remaining pairs of arguments as one of the permissible keyword arguments followed by its value. The keyword arguments are listed in the description of the FILEINF callable service in VS FORTRAN Version 2 Language and Library Reference.

Be sure that each keyword argument is coded as a character expression. Remember that if a character constant is used, the keyword argument, such as RECFM, must be enclosed in quotes or apostrophes.

Refer to “System Action” regarding the detection of error FOR1926 on a subsequent OPEN or CLOSE statement.

Symbolic Feedback Code

FOR0121