What is the Program Data Vector (PDV) and What are its
functions?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / akila
It is a temporary area of the computer memory where sas
builds a sas data set.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / sudhadurgaprasad
The Program Data Vector is a temporary storage area where
sas builds the data set.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / amarender
PDV is a Logical area of the SAS system where the dataset is
created one observation at a time.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / suresh
programme data vector is temporary logical area in memory
that stores the variables one by one basis to build data set.
BASIN FUNCTION TO PRODUCE THE DATA SET BY PASSING THE _ERROR_
_N_ CRITERIA.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / vishnuvardhanreddy
when execute the programme it automatically creating the
input buffer .input buffer is a logical memory area .
Here it read the data.Then it enter into the pdv.Here it
scan the syntax .Here two automatic variables are created
for error checking.One is _n_ sas processing the
obeservatinos with no of itterations
_erroR_=no of error occurance.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / kanya
When a data step is submited,it is first compiled and then
executed.During the compilation phase,after cheking the
syntax an input buffer and PDV are created.The PDV is a
logical area in memory where sas built a data set,one
observation at a time.It is a temporary holding area.Along
with computed data set variables ,the pdv contains the 2
automatic variables: _N_, _NULL_
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sas - user
Program data vector (pdv) is a temporary memory location.
While execution it stores the temporary values in the pdv
and after execution it displays only the final output.
For example:
do i = 1 to 10 by 2;
end;
The values of i that are stored in the pdv everytime the
loop executes are 1, 3, 5, 7, 9, 11. Everytime the
execution of the loop takes place, it over-writes the
previous value in the pdv. But at the end of execution, the
value of i is 11.
Thus pdv temporarily stores the values of i during
execution but displays the lastly over-written value.
Is This Answer Correct ? | 2 Yes | 2 No |
How would you generate 1000 observations from a normal distribution with a mean of 50 and standard deviation of 20. How would you use PROC CHART to look at the distribution? Describe the shape of the distribution.
What is maximum storage capability of SAS?
tell me about intnx, intcx functions?
Differentiate between format and informat? : sas-grid-administration
Hi, I have one dataset, could you please ans for this. id amount paid_amount 1 700 400 2 900 250 3 300 300 a 400 250 b 500 320 c 800 650 x 200 190 y 900 250 z 300 180 i want create new dataset having id and paid_amount who are paid high amount comparing amount. ex: 1d paid_amount 3 300 c 650 x 190
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
differnce between 8.2 and 9.1.3
hi i am nipun can anybody tell me that if a clinical sas programmer write the code and after successfull execution where do they store it. how they submit tables to TL how work is assigned to programmers either both code, log, output to be submitted. can any one tell me the process
libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak
What is the pound sign used for in the data_null_ ?
how do you want missing values handled? : Sas programming
What is difference between Global n Local Macro Variables..?