This routine writes data in a map object.
Specification
01 heap-ID PIC 9(4) COMP-5. 01 relative-address-in-heap PIC 9(4) COMP-5. 01 data-length PIC 9(4) COMP-5. 01 strings PIC X(n). 01 status-code PIC S9(4) COMP-5.
CALL "CBL_WRITE_VFILE"
USING BY VALUE heap-ID
relative-address-in-heap
data-length
BY REFERENCE strings
RETURNING status-code.Interface
Specifies the heap-ID.
Specifies the relative address in a heap.
Specifies the length of data to be written.
Specifies the string to be written.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure