Top
NetCOBOL V11.0 CBL Subroutines User's Guide
FUJITSU Software

2.11 CBL_FLUSH_64BIT_FILE

CBL_FLUSH_64BIT_FILE writes buffer data to a file. This subroutine supports the Solaris large file system.

Specification

Parameter data definition
01 file-handle PIC X(4).
01 status-code PIC S9(4) COMP-5.
Calling format
CALL "CBL_FLUSH_64BIT_FILE"
USING file-handle
RETURNING status-code.

Interface

file-handle

Specifies the file handle returned by CBL_OPEN_64BIT_FILE or CBL_CREATE_64BIT_FILE.

Return code

The return code is set in the status-code field of the RETURNING clause.

status-code
  • 0: Successful

  • -1: Buffer flushing failure or parameter error

  • Other values indicate an ANSI74 file status.