Hi Austin1, this behavior depends on the setting of the OPTIONAL-FILE directive. By default this directive is set on, giving the behavior you've observed, i.e. an OPEN I-O or OPEN EXTEND on a file that does not exist will create the file, returning a status of 05. If you compile the program with the directive NOOPTIONAL-FILE, the OPEN I-O on a non-existent file will NOT create the file and will return a status of 35.
↧