LEVFILE

Optional parameter, standalone SUDAAN versions only.

Use this parameter on the PROC statement to specify the name of a file containing records with SAS-style format information for variables on an input file in SASXPORT format. If this parameter is not supplied, SUDAAN will look for a file named LEVFILE.STX. If SUDAAN cannot find a level file, whether the name is supplied explicitly or by default, then SUDAAN will not be able to use formats named on FORMAT statements within your SUDAAN program.

Use this parameter on the OUTPUT statement to specify the name of a file in SASXPORT format to contain SAS-style formats to be associated with variables on an output data set in SASXPORT format. If this parameter is not supplied and there are one or more variables with associated level labels, SUDAAN will use the name LEVFILE.STX. Note, however, that in no case will SUDAAN overwrite a file already using the specified filename unless the REPLACE option is present on the OUTPUT statement. For each format, SUDAAN will create a name which is at most eight characters in length, contains only ‘_', and alphanumeric characters, and does not begin with a numeric digit. This name will be as close to the name of the variable as possible.