What is the Program Data Vector (PDV) and What are its
functions?
Answer Posted / latha reddy
PDV: it is a logical memory area.
and pdv brings the observations at a time from input buffer
and checks the errors.
PDV contains 2 automatic variables _n_ & _error_ ,these
checks the erros in observations.
_n_ : indicates the no of obs.
_error_: 1 if error occured
0 if no error
After that it assigns the datavalues to appropriate
variable and build a sas dataset.
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Why double trailing @@ is used in input statement?
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.
What are the differences between sum function and using “+” operator?
what type of graphs we will create(for 2+years candidates)?
What is the difference between %local and %global? : sas-macro
What can be the size of largest dataset in SAS?
do you need to know if there are any missing values? : Sas programming
what is sas data set?
Where do you use proc means over proc freq?
what are some good sas programming practices for processing very large data sets? : Sas programming
What is SAS informats?
What are all the problems you faced while validating tables and reports?
What would you change about your job?
what is the difference between unique key and primary key? : Sas-di
I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry