The NAMEOPTIONS option specifies whether the name you pass to the OPEN statement can contain File Handler options.
Syntax:
NAMEOPTIONS
=
{
ON
}
{
OFF
}
Parameters:
- ON
- The name you pass to the OPEN statement can contain File Handler options enclosed in round or square brackets. For example:
fil1[PRINTER]
- OFF
- The name you pass to the OPEN statement cannot contain File Handler options.
Comments:
If set to OFF, the brackets and the characters they enclose are considered as part of the file name.