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

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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