FOR1504S
locator-text The volume volser, which should have contained the data set data-set-name, could not be found. Fortran Version 2 Error Number: AFB103I (format 4)

Explanation

The data set data-set-name was to be connected using dynamic file allocation. (Dynamic allocation occurred either because data-set-name was given in the FILE specifier on the OPEN statement.) The volume serial number volser was given as a value for the VOLSER or VOLSERS argument on the immediately preceding call to the FILEINF callable service, but this disk volume wasn't available.

locator-text gives more information about the location of the error, and can be one of the following:
  • The statement statement for unit unit-number failed.
  • The INQUIRE statement failed.

System action

If the error occurred during the execution of an OPEN statement, 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, parm_count has a value of 4.

Permissible Resume Actions:

Name Action Taken after Resumption
RN The I/O operation is not completed, and execution continues.

Programmer response

Ensure that volume serial number given as the value of the VOLSER or VOLSERS argument on the call to the FILEINF callable service is one that resides on the device given by the DEVICE argument.

If the data set is cataloged, you don't need to specify the volume serial number, so remove the VOLSER or VOLSERS argument.

Symbolic Feedback Code

FOR1504