Problem:
A program using an open extend statement for a file defined without the optional phrase works fine on one computer. If the file does not exist then a file status code of "05" is returned, which is fine.
On another machine the program cannot create the file if it does not exist unless the optional phrase IS specified.
Resolution:
The compiler directive option-file is the default for the Micro Focus dialect.
If the RM or ansi'85' directive is used then the nooptional-file directive is also set.
This could be the problem.
If one of thes directives is being used then defining the optional phrase in the select statement
overrides this and it will work correctly.
#RMCOBOL
#netexpress
#AcuCobol
#ServerExpress
#COBOL
