Your SAS programs, embedded in web apps and elsewhere

Executing .exe file thru SAS Stored Process

Reply
Contributor
Posts: 36

Executing .exe file thru SAS Stored Process

Hello Everyone,

I have a requirement to create a stored process which will execute a .exe file from the server, so that I will link that stored process on SAS IDP portal which will say - "If you want to do this than please click below link" and that link should be able to execute my .exe file from the portal.

Please share your ideas or views. much needed

Thanks

Mike

Super User
Posts: 7,868

Re: Executing .exe file thru SAS Stored Process

Posted in reply to Micheal_S

You need to allow XCMD in the configuration of the Stored Process Server, so you can make use of the X statement or CALL SYSTEM() subroutine.

Right-click on the STP Server in SAS MC, select Properties - Options - Advanced, and then "Starting Properties", or whatever it is called in the English locale.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 1 reply
  • 375 views
  • 0 likes
  • 2 in conversation