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 the Program Data Vector (PDV)? What are its functions?

Answer Posted / raj

It is a logical area in memory where SAS builds a data set,
one observation at a time. When a program executes, SAS
reads data values from the input buffer or creates them by
executing SAS language statements. The data values are
assigned to the appropriate variables in the program data
vector. From here, SAS writes the values to a SAS data set
as a single observation.
Along with data set variables and computed variables, the
PDV contains two automatic variables, _N_ and _ERROR_. The
_N_ variable counts the number of times the DATA step
begins to iterate. The _ERROR_ variable signals the
occurrence of an error caused by the data during execution.
The value of _ERROR_ is either 0 (indicating no errors
exist), or 1 (indicating that one or more errors have
occurred). SAS does not write these variables to the output
data set.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I remove header from output data set?

2621


how does sas handle missing values in assignment statements? : Sas programming

1020


What are the five ways to do a table lookup in sas? : sas-grid-administration

1064


Explain the difference between nodup and nodupkey options?

1027


How do you specify the number of iterations and specific condition within a single do loop?

1103


how does sas handle missing values in formats? : Sas programming

1139


Difference between sum function and using “+” operator?

1151


Explain the use of proc gplot? : sas-grid-administration

985


Describe crosslist option in tables statement?

1222


what is ae onset date n what is RDS

2577


Can you execute a macro within a macro? Describe. : sas-macro

1111


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

1105


Which are the statements whose placement in the data step is critical?

1265


what is transformation in sas data integration? : Sas-di

1036


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1372