If you compile your program with the Compiler directive NOANS85, ANSI'74 file status codes are produced.
If you need to use ANSI'85 syntax, but have ANSI'74 file status codes then replace the NOANS85 directive with ANS85"SYNTAX".