BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
dijl
Calcite | Level 5
There is a piece of code needed to be submiteed by many other users, the paths of desktop vary in different computers, and I want to output the result of submission to desktop of each user, how to access desktop in coding? Ask each user to change the output destination path is boring as there are many users and lots of them don't know how to change it.
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

I'd be pretty peeved at a tool that dumped files on my desktop. 

 

You dont have a common location such as C:\_localdata\exports

 

Or perhaps add a %window that asks a user to specify the output path. 

View solution in original post

4 REPLIES 4
LinusH
Tourmaline | Level 20
Desktop computing seem a bit old fashioned, but ok.
Why kind of code and output are we talking about?
What SAS license does your SAS clients have? Any server SAS in the environment?
Having SAS and programs in shared location might help?
Data never sleeps
Kurt_Bremser
Super User

Use HTML/HTTP as medium

 

- have the code create a $HOME/public_html directory, if it does not exist already

- write the output there with ods html (example filename $HOME/public_html/output.html)

- let the users open http://servername/~username/output.html in a browser

 

This of course assumes that

- your server runs UNIX

- has a HTTP server running

- the default configuration of the HTTP server regarding user directories has not been changed

Reeza
Super User

I'd be pretty peeved at a tool that dumped files on my desktop. 

 

You dont have a common location such as C:\_localdata\exports

 

Or perhaps add a %window that asks a user to specify the output path. 

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 4 replies
  • 2252 views
  • 5 likes
  • 4 in conversation