EconPapers    
Economics at your fingertips  
 

SASWRAPPER: Stata module to run a SAS program from within Stata

Dan Blanchette ()
Additional contact information
Dan Blanchette: Center of Entrepreneurship and Innovation, Duke University's Fuqua School of Business

Statistical Software Components from Boston College Department of Economics

Abstract: saswrapper runs a SAS program in batch and prints the output in the Stata results window/log file. This usually occurs by specifying a SAS program file after using, but saswrapper can also run SAS code specified by the pre_sas_prog() and/or post_sas_prog() options. By default, saswrapper will save the current data in memory using savasas and make it available in SAS's WORK library. If that is not desired, use the nodata option. The usesas option tells saswrapper to load the last SAS dataset created in the WORK library by the submitted SAS program into Stata using the SAVASTATA SAS macro.

Language: Stata
Requires: Stata version 8.0
Keywords: SAS; Stata (search for similar items in EconPapers)
Date: 2009-04-11, Revised 2009-05-07
Note: This module may be installed from within Stata by typing "ssc install saswrapper". Windows users should not attempt to download these files with a web browser.

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/saswrapper.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/saswrapper.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/u/usesas.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/u/usesas.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/savasas.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/savasas.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/u/usesasdel.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/sasexe.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/a/adoedit.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/a/adoedit.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/t/tmpdir.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/tmpdir.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/shortdir.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/shortdir.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/c/confirmdir.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/confirmdir.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/savastata.sas SAS macro (text/plain)
http://fmwww.bc.edu/repec/bocode/c/char2fmt.sas SAS macro (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stata_wrapper.sas SAS macro (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: http://EconPapers.repec.org/RePEc:boc:bocode:s457027

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2009-11-23
Handle: RePEc:boc:bocode:s457027