What is a method to debug and test your SAS program?
Answer / Gyanendra Kumar Singh
Debugging and testing a SAS program can be done using the LOG, PUT, and RUN statements. The LOG statement writes diagnostic information to the SAS log, while the PUT statement writes data to the SAS log or a user-specified output file for inspection. The RUN statement allows you to test part of your code without running the entire program.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to change the execute of macro
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
what is the difference between x=substr(name,1,2); and substr(name,1,2)='x';
How do you add a number to a macro variable?
Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?
Differences between where and if statement?
How do you add a number to a macro variable?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.
Why and when do you use proc sql?
create macros---you have 365 number of data and you need to merge it throw the macros,,,,,, data file1; input a @@; cards; 1 2 3 4 ; run; data file2; input a @@; cards; 5 6 7 8 ; run; data file3; input a @@; cards; 9 10 11 12 ; run;data file4; input a @@; cards; 13 14 15 16 ; run;
Hot to suppress characters from a given string?