I'm interested in using the &SASWORKLOCATION macro variable to create a unique ID. It seems like a portion of this macro variable is unique and created the first time a data set is saved to the work library. If you close and re-open the EG project, then re-run code to create something in the work library, a new value for this macro variable is created. Here is an example of my code and the log. I'm specifically interested in the part in blue. Is it in fact unique or could this portion of the work library directory get re-used for another EG project at another time? (Note - I scrambled some of the values to make sure I don't inadvertently post any sensitive information.) Thanks! Run this code: data test; length testvar $10; run; %put &SASWORKLOCATION; Log: 30 %put &SASWORKLOCATION; "/saswork/SAS_workAB9C00005740_xxxxxxx.xxxx.net/SAS_work325100115740_xxxxxxx.xxxx.net/" Save, close, re-open the EG project, re-run the same code. Now the log shows: 30 %put &SASWORKLOCATION; "/saswork/SAS_workF0R900007C73_xxxxxxx.xxxx.net/SAS_work2FB622007C73_xxxxxxx.xxxx.net/" Just re-running the code without closing the EG project, the directory does not change: 30 %put &SASWORKLOCATION; "/saswork/SAS_workF0R900007C73_xxxxxxx.xxxx.net/SAS_work2FB622007C73_xxxxxxx.xxxx.net/"
... View more