Use this routine when the main .csv file under test references field data in an external file. This technique is often used when the field-level data is complex or long, and is a way to circumvent the size limits placed on the .csv file under test.
call "MFU_GET_FILE" using by reference get-filename
by reference data-ptr
by reference data-size
end-call.
If the status-code returned is anything other than 0, then it failed to allocate enough memory for the file. When the test has finished, your test clean-up should include a call to CBL_FREE_MEM, to release the memory allocated to data-ptr.
call MFU-GET-FILE using
by reference ws-filename
by reference ws-pointer
by reference ws-size
end-call