cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run script (.bat file) on a windows server

Former Member
0 Kudos
102

Hi,

I have a job definition which execute cmd command (such as cd, echo, etc) through a platform agent installed on a Windows server but when I try to execute scripts (i.e. .bat file) it doesn't work.

Can someone help, please ?

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

What account is the platform agent running as? Can you execute the bat file as that user outside of CPS?

Former Member
0 Kudos

Hi,

The PA is running with the same account executing the .bat file on the server.

Yes, the bat file can be executed with that user outside of CPS.

Regards

Former Member
0 Kudos

What error messages do you receive?

Former Member
0 Kudos

Some update on my concern, I'm getting a RC=301 when I try to launch the script (which execute a SAS program) with the platform agent on the remote server .

Thanks.