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.

Anand_V
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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 6 replies
  • 1268 views
  • 1 like
  • 4 in conversation