Publish Package Interface |
Retrieves an external binary or text file from a package.
CALL RETRIEVE_FILE(entryId, filename, rc);
Specifying "FILENAME:"
(without a filename) applies to the
retrieved file the name of the original file, when that file was inserted in
the package.
The following example retrieves a binary file from a queue.
fname = "filename: /users/jsmith.bin"; CALL RETRIEVE_FILE(entryId, fname, rc);
Publish Package Interface |