What is the Program Data Vector (PDV) and What are its
functions?
Answer Posted / murray
The PDV can also contain user invoked temporary variables
such as IN, END and FIRST.by and LAST.by.
In a nutshell, IN indicates if an observation originated in
a specified input data set, END indicates if an observation
is the last observation in a specified input data set, and
FIRST.by and LAST.by indicate if an observation is either
the first or last observation of any specified BY variables
(the data set must first be sorted accordingly). See SAS
help for more details.
These automatic vars (_N_ and _ERROR_) and temporary
variables are not written to the output data set, however
their values can be assigned to user defined variables.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
State the difference between INFORMAT and FORMAT ?
What are common programming errors committed in sas
which date function advances a date, time or datetime value by a given interval? : Sas programming
What are the features of base sas system?
what are the types of interactive display types? : Sas-bi
what is the Population you used in your project, is it ITT or PP?
Tell me about % include and % eval? : sas-macro
Mention what is the difference between nodupkey and nodup options?
What is your favorite all time computer book? Why?
What is the difference between the proc sql and data step?
Mention sas system options to debug sas macros.
What do you know about symput and symget?
how does sas handle missing values in procs? : Sas programming
What do the put and input function do?
name the scheduler for scheduling job and explain the scheduler? : Sas-di