What has been your most common programming mistake?
Answers were Sorted based on User's Feedback
Answer / arun
Missing a semicolon at the end of the statement.
Missing to write END statement after the ending of the DO-loop
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / chiranjeevi
1)filenames are spelled incorrectly.
2)missing the semicolon at the end of the sas statements
3)keywords are apelled incorrectly.
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / s.bhattacharya
Well there has been lot of mistakes...but the one i do frequently is to miss writing "QUIT" after a "PROC SQL"....
This creates a big hang issue when u r dealing with large data files
Is This Answer Correct ? | 4 Yes | 1 No |
What is LAG function?How is it used? can any one explain
3 Answers TRE, Verinon Technology Solutions,
What do you know about sas and what we do? : sas-grid-administration
how to rearrange the data as our wish by using dataset block?
explain the key concept of sas? : Sas-administrator
Explain the difference between nodup and nodupkey options?
data voter; input Age Party : $1. (Ques1-Ques4)($1. + 1); datalines; 23 D 1 1 2 2 45 R 5 5 4 1 67 D 2 4 3 3 39 R 4 4 4 4 19 D 2 1 2 1 75 D 3 3 2 3 57 R 4 3 4 4 ; Idont understand what the (Ques1-Ques4)($1. + 1) means. I have seen (Ques1-Ques4)(4*$1.), but what is (Ques1-Ques4)($1. + 1)? Appreciate all help Thanks
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?
How the Excel file enter into the SAS environment without Code of Infile & Import procs,if i have no file Conversion?
How can I remove header from output data set?
I need help in merging two different datasets. I am merging by date and I want to propagate observations from one dataset to the corresponding dates. One dataset has a unique date for each day of the month, while the other dataset has same date for different patient visits. For example I want to spread an observation on the 31DEC2008 from one dataset to several observations with the same date on a second dataset for all the patients who visited on that date. I have tried to merge the two and the result is not what I wanted. Instead I get a dataset whereby all the dates have missing values where observations from the first datset should have spread.
How do you add a number to a macro variable?
Describe the ways in which you can create a macro variable?