BookmarkSubscribeRSS Feed
helannivas88
Obsidian | Level 7

Hi,

 

Im trying to deploy the SAS DI jobs using the .sh script and below is the commands used in the script,

 

<SASPath>/SASDataIntegrationStudioServerJARs/4.8/DeployJobs \
-host <Metadata server> -port 8561 \
-appservername SASApp \
-metarepository Foundation \
-user sasadm@saspw -password "xxxxxxx" \
-sourcedir <SASPath>/SASApp/SASEnvironment/SASCode/Jobs \
-deploytype DEPLOY \
-objects "/Shared Data/Test01" \
-servermachine <Grid Server> \
-serverport 8591 \
-batchserver "SASApp - SAS DATA Step Batch Server" \
-deploymentdir <SASPath>SASApp/SASEnvironment/SASCode/Jobs \
-serverusername <Batch ID> \
-serverpassword "<Batch Password>" \

 

When I try to execute the script , it throws me the error as 

 

The application could not log on to the server "<Servermachine>:8591". The user ID "<Batch ID>" or the password is incorrect.

 

But I can able to login to  SAS EG / DI / MC using the same user name and password but i uses the metadata server as a host to connect.

 

I can able to deploy the job after logging to SAS DI using the same username and password. Why the same credentials is not working for the workspace sever (  Port:8591).

 

Thanks in advance.

1 REPLY 1
SASKiwi
PROC Star

You are specifying a user account that is only defined in SAS metadata (sasadm@saspw) when you need an OS user account to start a SAS workspace server session. Try an OS user account instead, one that is also defined in SAS metadata. 

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!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 318 views
  • 0 likes
  • 2 in conversation