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 does PROC print, and PROC contents do?
how do u validate sas program
Hi, I need to create a SAS Map of USA using SAS Graphs(Proc Gmap).The data i have dosent contain any co-ordinates of USA cities or counties or states, and the zip codes are diffrent in the data i have from the zip code in the Maps.US dataset in the Maps Library for SAS MAPS. the data i have is a sales report. i have to generate the maps according to the states,cities aligned in the sales data, HELP Appriciated
what does .. meant in sas macros
Enlist the functions performed by sas.
what are the validation tools in sas?
I have 50 variables in one data set, In reports i want to generate every 10 variables in one page how we will write code in proc report.
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
How to include or exclude specific variables in a data set?
explain about various caches available in data integrator? : Sas-di
How did you use the round function?give an example(don't say it will round to the nearest intger) eg1:round(84.55,.1) =84.6 eg2:round(92.64,.1)=92.6,How it is happening like this tell me the logic,that is how the round function works when we have deimal values?
In proc transpose and data step with arrays which one you pick?
0 Answers Accenture, Quintiles,