NAME condition

An input/output condition that causes named data to be undefined.

Enabled/Disabled status

Always enabled.

Result

Named data is undefined.

Raised

Only during execution of a data-directed GET statement with the FILE option and any of the following are also true:

  • The syntax is incorrect. See GET for more information
  • The name is missing or invalid.
  • A subscript list is missing or invalid.

Note

Use the DATAFIELD built-in function in the ON-unit to retrieve the incorrect data field.

Syntax

NAME file-reference

Parameter

file-reference
A scalar file reference.

Other Information

Condition code
10
Implicit action
Ignores the incorrect data field, prints a message, and continues execution of the GET statement.
Normal return
Continues execution of the GET statement with the next name in the stream.