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
what is the use of proc contents and proc print in sas? : Sas-administrator
What is the difference between one to one merge and match merge? Give an example.
What are the prime responsibilities of data integration administrator? : Sas-di
Hi, If anyone has base SAS certification dumps, please share.
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
Explain substr function?
To what type of programms have you used scratch macros?
how to do user inputs and command line arguments in sas?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
What are the difficulties u faced while doing vital signs table or dataset?
What is the use of stop statement?
What areas of SAS are you most interested in?
what is the difference between floor and ceil functions in sas? : Sas-administrator
What are all the problems you faced while validating tables and reports?
How you can read the variables that you need?