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.
... View more