HP 3000 Manuals

HP COBOL II/iX Enhancement [ COMMUNICATOR 3000 MPE/iX General Release 5.0 (Core Software Release C.50.00) ] MPE/iX Communicators


COMMUNICATOR 3000 MPE/iX General Release 5.0 (Core Software Release C.50.00)

HP COBOL II/iX Enhancement 

Julia Rodriguez 
Computer Languages Operation 

File Status 48 For Write to ACCESS SEQUENTIAL File 

With this version of HP COBOL II/iX A.04.09, the run-time library more
fully conforms to the ANSI'85 Standard when the ANSI85 entry point is
used.  If a WRITE to an ACCESS SEQUENTIAL file opened in I/O mode is
detected, the run-time library returns a File Status 48 and aborts the
program with the following error message:

     FILE NOT OPENED or MODE INCORRECT [47,48,49,9x] WRITE (COBERR 638)

As an extension for compatibility, the HP COBOL II/iX compiler allows a
WRITE statement to an ACCESS SEQUENTIAL file opened in I/O mode.  This
extension can be enabled without recompiling the source program by using
the COBRUNTIME environment variable.  Recompiling the program using
$CONTROL STAT74 or the ANSI74 entry point of the compiler also enables
the extension.

Please refer to the technical article "HP COBOL II/iX Technical Overview"
in Chapter 10 of this Communicator for more information.



MPE/iX Communicators