NF (No File)

The NF command is used to respond to a NO FILE message for a file that has a value of FALSE for the OPTIONAL attribute. The program that tried to open the missing file can continue processing the next action without being terminated as would occur if the DS command was used.

Syntax

Explanation

The program specified by the mix number value receives an error result, and the program can then determine whether to continue processing or terminate.

Example

In the following example, the W command indicates that a NO FILE condition has occurred for the program specified by the mix number 7777. The NF command enables the program to determine whether to continue processing or terminate.

W
  ---Mix--Pri-Elapsed---------- 2 WAITING ENTRIES -----------
  * 7777  50    10:11 (ROBY)TEST/ON/PACK
          NO FILE XYZ (DK)
7777 NF