BookmarkSubscribeRSS Feed
shursulei2
SAS Employee

The SASFoundation can use the 

/sas/sas94/SASHome/SASFoundation/9.5/sas -sysin xx.sas -log xx.log

 

But The WorkspaceServer.sh how to use such as this way to post code

6 REPLIES 6
Jagadishkatam
Amethyst | Level 16
the sas code within the unix script WorkspaceServer.sh and you are trying to batch run the WorkspaceServer.sh, so try sas94 command before the file /sas/sas94/SASHome/SASFoundation/9.5/sas -sysin xx.sas and save the WorkspaceServer.sh and then run the same
Thanks,
Jag
shursulei2
SAS Employee
I don't understand your answer.Can you have a example
Jagadishkatam
Amethyst | Level 16
is it possible to show the content of the WorkspaceServer.sh, so i can give you more details
Thanks,
Jag
Kurt_Bremser
Super User

The WorkspaceServer.sh shell script is used only to start the workspace server for applications like Enterprise Guide, SAS Studio, the AddIn for MS Office, Web Report Studio and so on. It us not suited to run SAS codes in batch. For this, you use the BatchServer/sasbatch.sh within the same Application Server context.

AnandVyas
Ammonite | Level 13
Yes, you should use sasbatch.sh instead of workspaceserver.sh script. Also it's a good idea to use sasbatch.sh instead of directly invoking SAS from Foundation as it would read all your custom configuration data just like how it does while spawning a session from clients like EG/Studio.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 6 replies
  • 1524 views
  • 1 like
  • 4 in conversation