© 2017
It is similar in concept to an FTP process, except that this transfer operation uses your already existing connection to a SAS Workspace and does not require a separate application. Some readers might be familiar with SASCONNECT Data Transfer Services PROC UPLOAD and PROC DOWNLOAD, which allows you to transfer files between two SAS sessions. Again, this is similar in concept, but since there is only one SAS session in play here, we need to use a different mechanism. Youre currently subscribed to some eWEEK features and just need to create a username and password. How to copy files in bulk. The Copy Files task supports two features that allow you to copy multiple files with a single step. First, you can use wildcard characters to match on multiple file names. An asterisk matches all characters, in any number, before the next non wildcard character. A question mark matches any single character that occupies that position in the file name. Second, you can use SAS macro variables and expressions to specify any part of the source file names or destination folder. Use a SAS program to determine the files you need to copy earlier in the process, assign that value to a macro variable, and then have the task dynamically select the correct files when its time to copy them. Support for Task Templates. The Copy Files task also supports a standard SAS Enterprise Guide feature Task Templates. You can create an instance of the task that is useful in one process, then save those task settings to your personalized set of Task Templates that you can use in another process or even in another project. To save your settings as a template, right click on the Copy Files task within your process flow and select Create Task Template. To use the new template, select it as a menu item from Tasks Task Templates. Limitations to note. This task does not generate a SAS program that you can reuse in a batch SAS process or SAS stored process. The task works by using SAS Workspace APIs to transfer data across your network connection, so all of the work happens behind the scenes. However, the task does create a detailed log output that shows what files were copied, how many bytes were transferred, how long it took, and whether there were any errors. How to get the task. Update 1. 4Nov. 20. WAIT Do you have SAS Enterprise Guide v. If so, no installation steps are needed The task is already installed in the Tasks Data menu. If using v. 7. 1. You can download the Copy Files task from this link Zip file. The download package includes multiple versions that depend on your version of SAS Enterprise Guide v. There is also a documentation file PDF that provides instruction for how to install and use the task. Dont forget that in SAS Enterprise Guide 5. DLL to avoid an error HRESULT 0x.