how do you validate sas program?

Answer Posted / thirumalesh.e

when you write your sas programme include debugging and macro debugging statements at each step boundary and check for errors and messages at log by including put statement along with macro expressions. use all macro debugging statements efficiently. if you get right programme with less or no errors after debugging its validated and file the validated programme according to regulations.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you delete duplicate observations in sas?

801


Compare sas with other data analytics tools.

792


Which date function advances a date, time or datetime value by a given interval?

868


Which command is used to perform sorting in sas program?

783


explain the function of substr in sas? : Sas-administrator

767


What is the general format of function in sas? : sas-grid-administration

764


Give an example where SAS fails to convert character value to numeric value automatically?

835


What are common programming errors committed in sas

891


what has been your most common programming mistake? : Sas programming

790


Hello, I have PROC SQLs results group by 3 fields and I use SUM and COUNT functions in SQL. The problem is when I try to display my result with PROC TABULATE. I am getting very big numbers. I believe I make a mistake some where in Tabulate. Here is my Proc Tabulate. PROC TABULATE DATA=OUT04_05 FORMAT=12.; CLASS YR CENTRE VISA / PRELOADFMT EXCLUSIVE; VAR NEWUSER FRAUD TRANSFER AUTUSER REISSUE; TABLE CENTRE ALL, (YR ALL)*VISA, (NEWUSER*F=COMMA12. AUTUSER*F=COMMA12. FRAUD*F=COMMA12. TRANSFER*F=COMMA12. REISSUE*F=COMMA12.) / MISSTEXT={LABEL='0'} PRINTMISS RTS=20; FORMAT VISA VISAFMT.; KEYLABEL SUM = ' ' ALL = 'TOTAL'; LABEL YR = 'DATE YEAR' NEWUSER = 'TOTAL NEW ACCT' TRANSFER = 'TOTAL TRANSFER' FRAUD = 'TOTAL FRAUD TRANSFER' AUTUSER = 'TOTAL AUTH USERS' REISSUE = 'TOTAL REISSUE'; When I code it like : NEWUSER*N*F=COMMA12. AUTUSER*N*F=COMMA12. I get same amount numbers but to find a NEWUSER I use COUNT(*) and to find AUTUSER I use SUM(xxxx) function so both result shouldn’t be the same my problem is in this point. Could you tell me where the problem in code is. How can I display my result? TX.

1990


describe about metadata object? : Sas-di

814


name some data transformation used in sas di? : Sas-di

741


name the scheduler for scheduling job and explain the scheduler? : Sas-di

805


how do you debug and test your sas programs? : Sas programming

831


Mention what are the data types does SAS contain?

909