WHAT IS DEBUGGING? HOW TO TEST THE DEBUGGING IN SAS?
Answers were Sorted based on User's Feedback
Answer / rajaanku11
Debugging is the process of testing the logic of the program.
To debug the sas Datastep: use the Debug clause after '/' in
the data statement and execute. If needed set watch points,
and keep on pressing enter key while Observing the values
in the debugger log window.Finally exit from it.
To debug the Macro programs, use the system options like
Symbolgen,Mlogic, Mprint.
Debugging is also supported by the log window by
notes,warnings, errors and messeges of and Error macro
variables.
| Is This Answer Correct ? | 20 Yes | 0 No |
Answer / venkatesh.layam
debugging is error identifier process.if you have any
errors in your programme it will display in log window
the errors are different type
syntaxal error
semantic errors
exection time errors
logical errors:which can not gives the error message but
the results are change dynamically.
macro debugging(by using mlogic mprint symbolgen)
>and can identify errors in the programme by using debug
option'/';
| Is This Answer Correct ? | 1 Yes | 1 No |
In this question, I rename the numeric variable phone to numphone and then try use phone=put(numphone,comma16.) to store the numeric value numphone as a string value in phone. But I get a warning tha numphone already exists and in the data sat phone doesnt exist and numphone is set to missing. Why? data names_and_more; input Name $20. Phone : comma16. Height & $10. Mixed & $8.; Name = tranwrd(Name,' ',' '); rename phone = numphone; phone = put(numphone,comma16.); datalines; Roger Cody 9,087,821,234 5ft. 10in. 50 1/8 Thomas Jefferson 3,158,488,484 6ft. 1in. 23 1/2 Marco Polo 8,001,234,567 5Ft. 6in. 40 Brian Watson 5,183,551,766 5ft. 10in 89 3/4 Michael DeMarco 4,452,322,233 6ft. 76 1/3 ;
What is the difference between where and if statement?
In PROC PRINT, can you print only variables that begin with the letter “A”?
Have you ever linked SAS code, If so, describe the link and any required statements used to either process the code or the step itself?
for whom is sas data integration studio designed? : Sas-di
tell me about intnx, intcx functions?
what is the use of proc sql? : Sas programming
How to Rename Library?
What is difference between rename and lable in sas?
How to create a permanent sas data set?
Mention the difference between ceil and floor functions in sas?
Could you please answers for this. 1.Code the tables statement for a single-level (most common) frequency. 2.Code the tables statement to produce a multi-level frequency.