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 |
describe about physical data integration? : Sas-di
What is the purpose of the trailing @? The @@? How would you use them?
I have 2 data sets A & B. Both have a variable called Age in them, each of them specifying a different functionality. In my program I use bot these data sets. How do I specify which Age variable I want to use?
where will go the observations that were deleted by delete 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 will you use the WHO Drug Dictionary for Reporting Clinical Trials?
what is sas application server? : Sas-di
what the use of proc glm
Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
Can you calculate the mean, median and mode of the following data set using data step logic? Don't use any function or procedure. data a; input age @@; datalines; 22 32 32 32 43 23 24 56 45 54 28 29 27 26 25 28 30 20 18 37 36 47 46 56 19 20 ; run; I have calculated the mean which i have posted in the answer section.
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?