BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
yhz
Fluorite | Level 6 yhz
Fluorite | Level 6

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

yhz
Fluorite | Level 6 yhz
Fluorite | Level 6

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

yhz
Fluorite | Level 6 yhz
Fluorite | Level 6

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

ChrisHemedinger
Community Manager

Yihong, from your previous message it sounds like you have it all figured out.  Good job!

Chris

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 18 replies
  • 3309 views
  • 6 likes
  • 2 in conversation