BookmarkSubscribeRSS Feed

We very commonly use macro variables to automate import, export, and other SAS code in PC-SAS.  In EG, there are circumstances in which it is easier to use Tasks, rather than code ... or would be if the functionality existed to pass prompt/macro variable values into the Task.  For example, you cannot (as far as we have been able to determine) pass a list of filenames in macro variables into the upload task.  Instead, the file list must be manually edited each time it is changed.

2 Comments
ChrisHemedinger
Community Manager

If you're looking to "macro-ize" an upload operation, see the Copy Files task (a custom task that you can download).  It supports wildcards and macro variables for easy re-use.

Chris

Casey_SAS
SAS Employee
Status changed to: Under Consideration

Thanks for your suggestion - we are reviewing this for inclusion into a future release of Enterprise Guide