how do u validate sas program

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the limitations for memory allocation for SAS variables

929


How do you test for missing values?

1058


What is a macro routine?

2104


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

550


how do the in= variables improve the capability of a merge? : Sas programming

934






What is interleaving in SAS?

673


Explain substr function?

577


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

1799


How do you add a number to a macro variable? : sas-macro

545


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

942


Describe the ways in which you can create a macro variable?

622


what are all the reports you generated in your recent project?

1681


what is the use of sas management console? : Sas-di

613


how many types prompting framework can be broken down to? : Sas-bi

630


Are you involved in writing the inferential analysis plan? Tables specfications?

2112