ARCHIVED: In Linux, using Stat/Transfer, how do I convert a SAS data set into a Stata data file?

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

The Stat/Transfer program converts data to and from various statistical and database packages.

Note: To access Stat/Transfer on Quarry at Indiana University, you need to load the Stat/Transfer module; at the command prompt, enter:

  module load stattransfer

To use Stat/Transfer to convert a SAS data set (e.g., input_data.sas7bdat) to a Stata data file (e.g., output_data.dta), at the command prompt, enter:

  st input_data.sas7bdat output_data.dta 

For information about the other file formats Stat/Transfer supports, see the help files within the application:

  1. To enter Stat/Transfer, at the command prompt, enter:
      st
  2. At the Stat/Transfer prompt (st>), enter:
      help formats 

For further Stat/Transfer help, at the Stat/Transfer prompt, enter:

Command Description
help commands
Help on the root Stat/Transfer commands
help copy
Help on copying one format to another
help set Help on setting options
help running
Help on running Stat/Transfer from the command line or a shell script

If you have questions about using statistical and mathematical software at Indiana University, contact the UITS Research Applications and Deep Learning team.

This is document avjr in the Knowledge Base.
Last modified on 2023-05-09 14:36:56.