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 |
What will calendar procedure do?
If money were no object, what would you like to do?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
Explain what is the use of proc gplot?
Explain what is data step?
What are the difference between the sas data step and sas procs?
What are the difference between sas functions and procedures?
how to display duplicated observations in a data using base sas.
13 Answers HCL, TCS,
What is the difference between an informat and a format? Name three informats or formats.
How to convert a numeric variable to a character variable?
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;
What can you learn from the SAS log when debugging?