| Publishing Packages |
| Syntax | |
| Arguments | |
| Details |
Syntax |
| CALL RETRIEVE_FILE(entryId, filename, rc); |
identifies the file entry.
| Type: | Numeric |
| Direction: | Input |
specifies the name of the file or fileref, using the following syntax:
FILENAME: external_filename
FILEREF: SAS_fileref
| Type: | Character |
| Direction: | Input |
receives a return code.
| Type: | Numeric |
| Direction: | Output |
| Details |
Specifying "FILENAME:" , without a filename, applies to the retrieved file the same name that was used when the file was initially inserted into the package.The following example retrieves a binary file from a queue.
fname = "filename: /users/jsmith.bin"; CALL RETRIEVE_FILE(entryId, fname, rc);
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.