Desktop productivity for business analysts and programmers

SAS Batch Jobs

Reply
Contributor
Posts: 33

SAS Batch Jobs

Hi,

 I have SAS programs/jobs, Please advise if these SAS programs can be migrated to SSIS/.NET batch job. & How.

 

Thank You

Super User
Posts: 3,233

Re: SAS Batch Jobs

Assuming you are using Windows then how to run a SAS program in batch mode is documented here:

 

http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#p16esisc4nrd5sn1ps...

 

Whatever tool you are using for running the batch job just needs to run a command that looks like this:

 

"c:\Program Files\SASHome\SASFoundation\9.4\Sas.exe” -sysin "c:\SASPrograms\prog1.sas" -config ”c:\Program Files\SASHome\SASFoundation\9.4\sasv9.cfg"

As to how you do this in SSIS/.NET would be best asked on a forum covering these topics.

Contributor
Posts: 33

Re: SAS Batch Jobs

Thank You
Super User
Posts: 3,233

Re: SAS Batch Jobs

My pleasure. It would be most helpful if you marked this question as answered if you agree it has. I really does save time for those answering questions.

Ask a Question
Discussion stats
  • 3 replies
  • 644 views
  • 2 likes
  • 2 in conversation