Hi Chris,
I think you are right. I run this code first in a new SAS EG session: %let wkc = %sysfunc(getoption(work)); %put &wkc;
Then run the Customer Task without the submitter (line 3-5), the line 7 ( wkg = getMacro("SASWORKLOCATION"); ) works.
Thanks for your explanation!
Yihong
Hi Chris,
I am sorry that I am not sure if my early question today was posted successfully. If it is posted, please ignore it. I have figured it out. It was a mistake in my code.
Again, thank you for all your helps!
Yihong
Hi Chris,
The code from your answer on May 19 works very well. But my new question is, this code copy the file to a temporal directory, there is no place can specify where user want the file go. After this, is there a way to copy this temporal file to a user specified local directory? The simple C# File.Copy(source, dest) is not working because it cannot find any local directory.
By the way, thank you so much for the class and helps!!! My unix terminal frame are all worked out like my PC SAS version. Still improving and develop new things.
Yihong
Yihong, from your previous message it sounds like you have it all figured out. Good job!
Chris
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.