DATA Step, Macro, Functions and more

creating sas executable file

Reply
N/A
Posts: 0

creating sas executable file

Hi All,

how to create a exe file from a sas program,so that we can use it on any other system that doesn't have sas sotware.

Thanks.
Super Contributor
Super Contributor
Posts: 3,174

Re: creating sas executable file

Posted in reply to deleted_user
It's unclear how you expect to execute the SAS program, possibly on a remote server machine where SAS is in fact installed and running? Given you post, I'd say that you will need to consider the software license agreement implications, if you are asking about executing / using a "SAS program" on a system where SAS is not licensed and/or installed -- pretty much an unreasonable request, from one perspective.

Scott Barry
SBBWorks, Inc.
N/A
Posts: 0

Re: creating sas executable file

I am asking about like ",net Framework" which runs without .net or DLL files which we usually deliver to the client. So my question is that can we create exe or DLL files for sas program?

Thanks.
SAS Super FREQ
Posts: 8,864

Re: creating sas executable file

Posted in reply to deleted_user
Sorry, I'm still not understanding it. You want to RUN (execute) a SAS program on a system that does NOT have SAS accessible to it???

I think you might want to work with Tech Support on this question. SAS can operate in the context of .NET using SAS Integration Technology, however, I am not sure this is what you mean. Rather than play 20 questions, it might be better for you to open a track with Tech Support directly.

To open a track with Tech Support, go to:
http://support.sas.com/ctx/supportform/createForm

cynthia
Super Contributor
Posts: 356

Re: creating sas executable file

Posted in reply to deleted_user
Hi.

I think the answer to your question is you can't do what you want.

From what I understand is that you want to be able to package up you SAS program and all components required to run that SAS program into an executable that can be run on other machines....

Because SAS is licensed by machine, any machine with out a licence can't run SAS, even if you have all the SAS executables installed.

If you are trying to distribute a report or results from a sas program to other users you can utilise the BI tools and Stored Processes

Cheers

Barry
Super User
Posts: 3,252

Re: creating sas executable file

Posted in reply to twocanbazza
To expand on Barry's answer, SAS is not architected in the same way that a simple compile and execute computer language is (eg BASIC, C etc). For example, consider SAS's library of procedures (PROC xxx). There are hundreds of these and each is a bunch of executables in its own right. The idea of packaging these up is mind-boggling!

BTW, this used to be a frequent question when I did SAS tech support many moons ago!

However with SAS's thin client tools (Enterprise Guide, Web Report Studio etc) you can run SAS jobs without SAS installed as long as you have access to a SAS server.
SAS Super FREQ
Posts: 8,864

Re: creating sas executable file

Posted in reply to deleted_user
Hi:
Not quite sure what you mean by "EXE" file?? Possibilities:
1) Do you want to make a zip archive of the results from a SAS program??? So that the end user can view the HTML, RTF or PDF results???
2) Or, do you want to have your SAS dataset viewable on another system?? Or you want to have a SAS dataset viewable by someone who does not have SAS on their system or accessible to them?

For #1, you could look at the ODS Package destination (new in 9.2) that will create a zip archive of ODS results.
http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a003182789.htm

For #2, you should look at the SAS Universal Viewer, which would allow a SAS dataset and other SAS files to be viewed on other systems.
http://support.sas.com/documentation/cdl/en/univiewerug/63357/PDF/default/univiewerug.pdf
http://support.sas.com/documentation/cdl/en/univiewerug/63357/HTML/default/viewer.htm#/documentation...

Also, for #1, if you are running on the SAS Enterprise Intelligence Platform (also known as the BI Platform), the SAS ".spk" permanent package files are a form of compressed archive that is meant to be opened with the SAS Package Reader.
http://support.sas.com/rnd/itech/doc9/dev_guide/reader/index.html

In addition, this user group paper has an example of calling WinZip via command line interface to create a zip file (and then email it):
http://support.sas.com/resources/papers/proceedings10/084-2010.pdf

cynthia
Ask a Question
Discussion stats
  • 6 replies
  • 2264 views
  • 0 likes
  • 5 in conversation