Hi All,
I need to run (.vbs) file in sas eg. But i couldn't run it through sas eg. I can only run the same .vbs file out of sas.
Any help will be most appreciated.
Thanks in Advance.
SAS Enterprise Guide uses a so-called workspace server for running all the code it creates. This workspace server is configured per default to not allow external commands. It also might reside remotely and on a non-Windows operating system.
Please post the log of your failed step.
Instead of using the x statement, do this to call your external command:
filename oscmd pipe "your_vbs_call 2>&1";
data _null_;
infile oscmd;
input;
put _infile_;
run;
This will write all answers from the operating system to the SAS log.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.