At compile time when a SAS data set is read, what items are
created?
Answers were Sorted based on User's Feedback
Answer / vemula
compilation time 3 items were create
1.input buffer
2.pdv
3.descriptor portion.
during compilations first it checks the syntax
then it assigns the datatype and informat
then it translates the sas code to standard machine code
1.input buffer: It is a logical area where sas reads each
record at a time when input statement is executed.
2. pdv: it is logical area in memory into which
SAS builds sas dataset one record at atime
3. descriptor protion: it contains the information about
dataset attributes and variable attributes
dataset attributes include when it was created etc
var attrb such as datatype format informat length etc.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ananth
it checks the syntax error.
descriptor portion of the dataset.
| Is This Answer Correct ? | 2 Yes | 1 No |
An input buffer is only created when data is read from external files/datalines not in case of reading data step.So the appropriate answer will be just PDV and Dataset Descriptor.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / bhimanagouda
i)Input Buffer
ii) Pdv is created
pdv includes _N_ & _ERROR_
| Is This Answer Correct ? | 0 Yes | 1 No |
If you could design your ideal job, what would it look like?
What is the difference between verification and validation?
what other sas products have you used and consider yourself proficient in using? : Sas programming
Tell different ways to create Macrovarible?
3 Answers Accenture, PharmaNet i3,
How to do user inputs and command line arguments in SAS? D&B
Which of the following is not created during compilation phase?
what is intially documentation for a sas programmer?
Why do we use QUIT commmand for proc datasets and proc sql ???
Below is the table. Required to be output should be the highest number of each student_id. Example. Student_id Subject Marks 1 Hindi 86 2 Hindi 70 3 English 80 . Calculate sum and average marks for each group of student_id Example. Student_id Subject Marks Total Marks Average 1 English 40 181 60.33333 2 English 67 196 65.33333 3 English 80 160 53.33333 PLEASE PROVIDE THE CODE OF ABOVE PROBLEMS
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
Briefly describe 5 ways to do a "table lookup" in sas.
Name statements that are execution only.