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 |
whenever we using the merging through data set merging ,we can get note in log like this "MERGE STATEMENT HAS MORE THAN ONE ONE DATASET BY REPEATED BY VAIABLES" but the output has come in good manner,whenever in in sql(full join) we can get cartion product.so How do overcome this problem in sql?
Can you execute a macro within a macro? Describe. : sas-macro
For what purpose(s) would use the RETURN statement?
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
How do you put an elephant in the refrigerator?
Mention how to limit decimal places for the variable using proc means?
What are the limitations for memory allocation for SAS variables
If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?
What sas features do you use to check errors and data validation?
What do you know about symput and symget?
i have a null dataset with 20 variables. i want to upload the variables which contain name like a or k or anything in another dataset.how can we create the dataset?
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming