Multiple choice technology programming languages

How to write comma separated file?

  1. a.) FILE ‘filename’ dsd = ‘,’;

  2. b.) FILE ‘filename’ dlm = ‘ ’ dsd = ‘,’;

  3. c.) FILE ‘filename’ dlm = ‘,’;

  4. d.) FILE ‘filename’ csv = ‘,’;

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

To write a comma-separated file in SAS, use 'FILE 'filename' dlm=',';' where dlm specifies the delimiter. Option A is incorrect (dsd is for delimiter-sensitive data, not specifying the delimiter), Option B incorrectly combines dlm and dsd, and Option D uses the non-existent 'csv' keyword.