How Do I Use Dlm in Sas
The Dlm= Option Can Be Used to Specify the Delimiter That Separates the Variables in Your Raw Data File. for Example, Dlm=’, ’Indicates a Comma Is the...
The dlm= option can be used to specify the delimiter that separates the variables in your raw data file. For example, dlm=’,’indicates a comma is the delimiter (e.g., a comma separated file, . csv file). Or, dlm=’09’x indicates that tabs are used to separate your variables (e.g., a tab separated file
What happens when you use both DSD and DLM?
When using dlm= and dsd together, the value defined by dlm= overrides comma.
How do you use delimiter in SAS?
You can use delimiter= on the infile statement to tell SAS what delimiter you are using to separate variables in your raw data file. For example, below we have a raw data file that uses exclamation points ! to separate the variables in the file. The example below shows how to read this file by using delimiter=’!