Script started on Thu Mar 16 08:36:41 2000 nber1# st Stat/Transfer (c) 1986-99 Circle Systems, Inc. Version 5.0.16 - Solaris Serial: AS6QP-HAAKY-843O User: National Bureau of Economic Research Status: License OK Please type "help" for a brief syntax and format guide. st> help formats Extension(s) Tags Formats ============ ==== ======= wk*;wr* 123 1-2-3 txt;csv delim ASCII File - Delimited dbf xbase dBASE rec epi Epi Info xls excel Excel dat gauss Gauss dat gauss96 Gauss - Unix htm* html HTML Table jmp jmp JMP lpj jpj LIMDEP for Windows mat matlab Matlab Matrix schema;sch mineset Mineset dct;dict osiris OSIRIS wq?;wb? quattro Quattro Pro splus S-Plus - Windows - DEC Unix splus-hl S-Plus - HP,IBM & Sun Unix sd2 sas SAS Data File - Windows/OS2 sd7;sasdata7 sas7 SAS Data File- Version 7 ssd01 sas1 SAS Data File- HP,IBM,SGI & SUN Unix ssd04 sas4 SAS Data File - Dec Unix xpt;tpt sasx SAS Transport File sav spss SPSS Data File - Windows, OS/2 & DEC Unix sav spss-hl SPSS Data File - HP,IBM, & Sun Unix por spssp SPSS Portable File dta stata Stata sta statistica Statistica sys systat Systat st> help copy To move data from one format to another type: copy file1.ex1 file2.ex2 [-y] [-o] where ex1 and ex2 are proper extensions for the filetypes. If the extensions are non-standard or not relevent (e.g. for ODBC), the filenames can be proceded by a 'tag.' Type 'help formats' for the tags and extensions. The switch 'y' overrides the file-overwrite prompt. The switch 'o' optimizes the target types of the output file. For example: "copy in.xls out.sd2" copies an Excel worksheet to a SAS data file "copy excel in.xxx out.sd2" does this as well, but compensates for the non-standard extension, xxx. st> help For further help type: help commands For help on the root Stat/Transfer commands help copy For help on copying one format to another help formats For help on the formats you can transfer help set For help on 'setting' options help running For help on running S/T from a shortcut or an OS prompt st> help set You can set the following options with the 'set' command: write-old-ver - Write older versions of output files (Y/N) preserve-case - Perserve name and label case if possible (Y/N) samp-seed - Seed for sampling functions (number or "auto") read-sas-fmts - Read user formats from a SAS datafile (Y/N) read-fmt-name - Name of SAS format datafile write-sas-fmts - Write Proc Format program for SAS (Y/N) write-fmt-name - Filename for Proc Format program user-miss - Honor user-missing values (all/first/none) date-fmt-read - Format for reading dates time-fmt-read - Format for reading times datetime-fmt-read - Format for reading date/times date-scan-fmt - Format for scanning ASCII files for dates & times date-fmt-write - Format for writing dates time-fmt-write - Format for writing times datetime-fmt-write - Format for writing date/times delimiter-rd - Delimiter - ASCII read (comma,tab,space,semicolon) ascii-rd-vnames - Fieldnames - ASCII read (autosense,first-row,make-up) num-miss-rd - Numeric missing value - ASCII read quote-char-rd - Quote character - ASCII read (character or 'none') max-fields - Maximum fields - ASCII read max-width - Maximum line width for ASCII read max-lines - Maximum number of ASCII lines to examine (number or 'all') decimal-point - Decimal point for ASCII thousands-sep - Thousands separator for ASCII century-cutoff - Century-cutoff for two digit years delimiter-wr - Delimiter - ASCII write (autosense,comma,tab,space,semicolon) quote-char-wr - Quote character - ASCII write (character or 'none') num-miss-wr - Numeric Missing - ASCII write write-field-names - Write field names to ASCII (Y/N) st> help commands copy (cp) Moves a file from one format to another (type "help copy") ex fn Executes the Stat/Transfer commands stored in the file, fn quit (q) Returns to the operating system cd dir Changes the default directory to dir ls spec Prints a directory of the files matching spec ! cmd p1..pn Executes a command (e.g. 'vi my.stc') log using fn Logs S/T commands and results to a file, fn st> exit nber1# man stata No manual entry for stata. nber1# exit nber1# script done on Thu Mar 16 08:37:14 2000