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
What is the role of unrestrictive users? : sas-grid-administration
how do you debug and test your sas programs? : Sas programming
Briefly explain input and put function?
For what purposes have you used sas macros? : sas-macro
what is intially documentation in sas?
what is business intelligence? : Sas-bi
What are the features of base sas system?
What is the use of stop statement?
how can you import .csv file in to sas? : Sas programming
where to use sas business intelligence? : Sas-bi
Explain what is data step?
What are the difference between the sas data step and sas procs?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
Mention some common errors that are usually committed in sas programming.
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.