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.

 

 

 

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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