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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.