FOR0120S
The FILEINF callable service failed. It was called with an argument list in an incorrect format. VS FORTRAN Version Error 2 Number: AFB096I-1

Explanation

The argument list provided in the call to the FILEINF callable service was incorrect in one of these ways:
  • There was no argument list.
  • The argument list had an even number of arguments.
  • The argument list wasn't in the internally-generated form produced by the Fortran compiler when there are character arguments. This could have occurred for one or more of these reasons:
    • One or more of the keyword arguments (CYL, RECFM, and so on) weren't provided as character expressions.
    • The call was made from a program compiled by the VS FORTRAN Version 1 or the VS FORTRAN Version 2 compiler with the the LANGLVL(66) compiler option.
    • The call was made from a program compiled by the VS FORTRAN Version 1 compiler at a level before Release 3.
    • The call was made from a program compiled by the FORTRAN IV H Extended or the FORTRAN IV G1 compiler.
    • The call was made from an assembler language program, and the arguments were not provided in the form required when there are character arguments.

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

Be sure that the argument list contains an odd number of arguments and that the even-numbered arguments are character expressions whose values are the permissible keyword arguments.

If the program is written in Fortran, compile it with the VS FORTRAN Version 2 compiler, and do not specify the LANGLVL(66) compiler option. If it is written in assembler language, use the Fortran conventions for argument lists with character arguments. These conventions are described in the topic “Passing Character Arguments Using the Standard Linkage Convention” in Appendix B of VS FORTRAN Version 2 Programming Guide for CMS and MVS.

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

Symbolic Feedback Code

FOR0120