Optimize IT resource capacity and performance with SAS

run SAS program using VB script

Reply
Regular Contributor
Posts: 195

run SAS program using VB script

Hi,

I'm currently using SAS 9.3 (W32_7PRO platform).

What is the visual basic code for calling and running a SAS program?

Thank you.

Super Contributor
Posts: 333

Re: run SAS program using VB script

It has been awhile since Ive used VB but isnt there a shell function that allows dos command line like commands? Then you should be able to use regular batch like syntax to open sas and run a specific program.

Batch syntax:

"sas exe full path location" -sysin "sas program to run full path location"

Add the -log and or -print to save out the log and lst to specific files.

Eric

Ask a Question
Discussion stats
  • 1 reply
  • 326 views
  • 0 likes
  • 2 in conversation