04-16-2013 02:18 PM
I've been tasked with finding a way to change the temp/work folder on a remote machine at runtime. Is there options with SIGNON that will allow this?
I apologize if this is not the correct area to post.
04-17-2013 09:01 AM
Sorry to reply to my own post but I was unable to find a solution and I'm looking to see if anyone has at least been able to accomplish this.
If I put it under the wrong category please let me know so I can change it.
04-18-2013 02:55 AM
How do you connect to the server?
If you signon using telnet, you can edit the signon script to do what you want to.
But most uses a spawner instead (one reason is that telnet is not considered safe).
When using a spawner, then it's the spawner who kicks the SAS server session, and it can be tricky to influence that.
Why do you want to change the WORK library, and how?
An option is to use another library using the TEMP libname option, which will make it mimic WORK behavior.
04-18-2013 08:49 AM
Thank you so much for your reply.
We are using a spawner to start the SAS server session.
The reason is that for our project users can select different data to download. Within that process if they select too much data we want to run that job using a location that has more available space. If it's a small job we want it to continue to use it's default location for work. We were hoping there was an option within the signon statement where we could indicate which temp directory we wanted to use that way we could just edit that statement before it's executed.
Thank you so much for your help. I will look into the TEMP libname option.