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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.