how do u validate sas program
Answers were Sorted based on User's Feedback
Answer / arjun
First of all, what do you mean by 'validate' SAS program? I
assume that you need to perform syntactical checks before
executing the program/ code. In that case, one of the ways
could be - at the beginning of the code, write OPTIONS
OBS=0 in addition to other options and then RUN it. This
way data will not be processed and the log shows error
messages/ warnings, if any. Otherwise, if you are executing
the SAS code on PC SAS, the highlighted colors itself shows
the syntactical errors, if any.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / gaurav
There are 3 way to validate program ...
(1): code review
(2): double programming
(3): Cross checking
| Is This Answer Correct ? | 1 Yes | 0 No |
Given an unsorted data set, how to read the last observation to a new data set?
how does sas handle missing values in functions? : Sas programming
data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.
You need to create an In List that it is to be later used in a Where Clause that includes all the Regions that begin with the letter A from the sashelp.shoes table. Using PROC SQL with an into clause create the following string from the sashelp.shoes table using the variable region “AFRICA”,”ASIA”,…..
Mention the category in which sas informats are placed?
Do you think professionally?
how we can call macros with in data step?
How would you delete duplicate observations?
What is the role of sas grid administrator? : sas-grid-administration
Which is the best training institute for SAS in Delhi. Please reply
What is the good sas programming practices for processing large data sets?
Describe the function and utility of the most difficult SAS macro that you have written?