CBL_WRITE_64BIT_FILE writes data to a file. This subroutine supports the Solaris large file system.
Specification
01 file-handle PIC X(4). 01 relative-address-in-file PIC 9(18) BINARY. 01 byte-count PIC 9(9) BINARY. 01 flag PIC 9(4) BINARY. 01 buffer PIC X(n). 01 status-code PIC S9(4) COMP-5.
CALL "CBL_WRITE_64BIT_FILE" USING file-handle relative-address-in-file byte-count flag buffer RETURNING status-code.
Interface
Specifies the file handle returned by CBL_OPEN_64BIT_FILE or CBL_CREATE_64BIT_FILE.
Specifies the relative address of data in the file.
Specifies the length of data to be written.
Specifies flag information as follows.
0: Standard writing
Specifies the area storing the data to be written.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
-1: Parameter error
Other values indicate an ANSI74 file status.