SASUnit Examples
Version 1.5.0
|
creates a unique name for a temporary dataset in the form WORK.DATAxxx, where xxx is a consecutive integer. More...
Go to the source code of this file.
creates a unique name for a temporary dataset in the form WORK.DATAxxx, where xxx is a consecutive integer.
The calling program will create a dataset with this name. All of these temporary datasets can be deleted at the end of the calling macro by a call like %delTempFiles (see delTempFiles.sas).
Important: in order to delete only datasets created in the calling macro program, define the macro symbol l_first_temp before the first call to %tempFileName: %LOCAL l_first_temp;
Call: %LOCAL macvar; %tempFileName(&macvar);
r_tempFile | name of maro variable to contain the generated name |
Definition in file _tempfilename.sas.