[ DATAFILES ][ ASCII ][ SAS ][ SASXPORT ][ SUDAAN ][ SUDXPORT ] [ SPSS ]
Standalone SUDAAN can read and
write fixed-format text data files that are accompanied by one or
more documentation files. The data file and its documentation files
all have the same name, each with a different extension. Note that
all of the companion files must reside in the same directory as the
data file, or SUDAAN will not use them. Indicate to SUDAAN that your
input or output data file is of this type by using the FILETYPE=ASCII
parameter on the PROC or OUTPUT statement. The table below describes
each of the file extensions.
|
EXTENSIONS |
File Description |
Required |
|
Text file containing fixed-format data |
Yes |
|
|
Text file containing information on the layout of the remaining documentation files; if this file is absent, SUDAAN continues to use the default layout |
No |
|
|
Text file containing a list of variables on the data file, along with variable labels, type, and format information |
Yes |
|
|
Text file containing labels for levels of one or more variables on the data file |
No |
|
|
Text file containing a label (title) for the data file |
No |
SUDAAN can read and write fixed-format text data files that are accompanied by one or more documentation files. The data file and its documentation files all have the same name, each with a different extension. Indicate to SUDAAN that your input or output data set is of this type by using the FILETYPE=ASCII parameter on the PROC or OUTPUT statement.
Assign the extension '.DBS' to the data file. A new codebook file, name.CBK, is now used to tell SUDAAN how to read the other documentation files: name.LAB, name.LEV, and name.FLD. The required labels file must have the same name as the data file, but use extension '.LAB' (or '.LBL' for compatibility with previous SUDAAN releases). Optional files supplying labels for the levels of one or more variables on the file and a file title, respectively, must have extensions '.LEV'and '.FLD'. All of the companion files must reside in the same directory as the data file, or SUDAAN will not use them.