At compile time when a SAS data set is read, what items are
created?
Answer Posted / venkatesh.layam
when ever compiling time only inputbuffer will be created
while data set creation generally 3 steps been occureed
1.inputbuffer
2.pdv.
3.discription poortion
for external file:
when ever we import the external file that time input
buffer will be created.it happends in compilation phase
in the execution process the the pdv will be created
while execution 2 types of automatic variable will be
created.
_N_ :how many times datastep has been executed
_error_=by default the erroe=0 if have any errors more than
one it displays 1
data discriptior portion:in the data set column header
called data portion
and values portions called discription portion
using datalines:
when ever you use dataline for compilation and execution
directly pdv will be created but input buffer wil not be
created because only expternal data inputbuffer will be
created.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What is the function of output statement in a SAS Program?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
What is the use of divide function?
how to read the variables in sas? : Sas-administrator
What is slibref?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Tell e how how dealt with..
What is the sas data set? : sas-grid-administration
How can I remove header from output data set?
What is the purpose of trailing @ and @@? How do you use them?
Do you need to know if there are any missing values?
how does sas handle missing values in formats? : Sas programming
What is the basic syntax of a sas program?