This routine opens a map object.
Specification
01 heap-ID PIC 9(4) COMP-5. 01 heap-status PIC X(2). 01 status-code PIC S9(4) COMP-5.
CALL "CBL_OPEN_VFILE" USING heap-ID heap-status RETURNING status-code.
Interface
Specifies the area to store the heap-ID.
Specifies the area to store heap-status.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure