Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1060


explain the use of % includes a statement in sas? : Sas-administrator

989


Describe a time when you were really stuck on a problem and how you solved it?

2536


Give e an example of..

2326


How would you identify a macro variable?

1080


What do you know about sas and what we do? : sas-grid-administration

1131


what are informats in sas? : Sas-administrator

1076


what is star schema? : Sas-di

1117


what is function of retain statment

2018


What are the different servers in sas? : sas-grid-administration

1039


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

1080


What are all the problems you faced while validating tables and reports?

3452


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

1121


How would you define the end of a macro?

1079


What is the basic syntax style in SAS?

1149