BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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.
6 REPLIES 6
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
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.
deleted_user
Not applicable
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.
Cynthia_sas
SAS Super FREQ
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
twocanbazza
Quartz | Level 8
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
SASKiwi
PROC Star
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.
Cynthia_sas
SAS Super FREQ
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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 5118 views
  • 0 likes
  • 5 in conversation