Previous Topic Next topic Print topic


device_name_detection

Specifies whether programs can use filenames that are normally reserved for device-names.
Note: Restriction:

These tunables are supported for native COBOL only.

Syntax:

>>-----set device_name_detection=---.-TRUE-.------><  
                                    +-FALSE+

Parameters:

TRUE The run-time system treats certain predefined names (such as ERR) as device-names.
FALSE No predefined device-names are used by the run-time system.

Properties:

Default: TRUE
IDE equivalent: None

Comments:

When you set device_name_detection=TRUE, the run-time system treats the following as device-names, so they cannot be used as filenames in your programs:

  • :BB
  • :CE
  • :CI
  • :CO
  • :LP
  • AUX
  • COM<n>
  • CON
  • ERR
  • LPT
  • LPT<n>
  • LST
  • NUL
  • PRN
  • PUN
  • RDR
  • STDERR
  • STDIN
  • STDOUT
Previous Topic Next topic Print topic