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

2.9 CBL_CLOSE_64BIT_FILE

The CBL_CLOSE_64BIT_FILE routine closes 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_CLOSE_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 specified in the RETURNING clause.

status-code
  • 0: Successful

  • -1: Parameter error

  • Other values indicate an ANSI74 file status.