what is pdv? how it is related to input buffer in sas?
Answer Posted / anuj goyal
pdv is though a logical concept only but helps u to
understand the most important i.e, THE DATA STEP.
Two things u need to understand the compilation Phase and
the Execution Phase.
While reading a Raw data file:-
1) Compilation Phase - it checks for syntax errors and
conversion of ur data step into the machine code along with
creation of two things viz. INPUT BUFFER and PDV.
At the end of compilation phase u will have these two things
with u (Input Buffer and PDV).
In PDV all the variables present in the INPUT statement in
the data step will be give place in ur PDV as per the length
mentioned by u.
2) Execution Phase - Before beginning of the this phase all
the variables will be initialized to missing(if character)
and periods(if numeric)[use "put _all_" statement to check
ur PDV status in the log].
Then when the input statement is encountered for the first
time The first record from raw data file is moved from it to
ur INPUT BUFFER. Then one to one mapping is done and data is
then again moved to PDV(So u can can take input buffer as a
temporary storage area for ur data, one at a time). Then
when run statement is encountered, then the implicit OUTPUT
statement forces the read data row to the output data set.
| Is This Answer Correct ? | 26 Yes | 4 No |
Post New Answer View All Answers
how sas deals with business intelligence? : Sas-bi
What are the special input delimiters used in SAS?
how are numeric and character missing values represented internally? : Sas programming
explain about various caches available in data integrator? : Sas-di
What are the different servers in sas? : sas-grid-administration
Are you involved in writing the inferential analysis plan? Tables specfications?
How would you include common or reuse to be processed along with your statements?
What is a put statement?
is data integration and etl programming is same? : Sas-di
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
What is the difference between using drop = data set option in data statement and set statement?
Name few SAS functions?
Explain the special input delimiters used in sas programming.
Given an unsorted data set, how to read the last observation to a new data set?
What is PDV?