BookmarkSubscribeRSS Feed
Linyi
Calcite | Level 5

Hello all,

   I have  a question about the error occured when I try to run a windows batch by executing a sas stored process.

Firstly, I runned the windows batch file by double click it directly,then the .sas files which are written in the batch file were executed without any error.

Secondly,I created a sas stored proccess which is used to start the windows batch file mentioned above and then executed it.

Then when I checked the log files,  where I found an error occured  at the beginning when the batch file try to start the .sas files.The error is "ERROR: Invalid credentials".

If anyone who konws this error message and know how to solve this problem,please tell me.

Your help will be appreaciated.

 

 

 

 

 

 

3 REPLIES 3
error_prone
Barite | Level 11
Stored process are executed by sassrv, not your user-id. Most likely that user does not have appropriate access-rights.
Linyi
Calcite | Level 5

Hi,

Thank you for your answer.

However,the type of server in the Execution Options of the stored process I choosed is "workspace server only",so I think  the reason may not be sassrv.

Still thank you very much for your answer.

 

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 3 replies
  • 804 views
  • 0 likes
  • 3 in conversation