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.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.