The following SAS program is submitted:
libname sasdata 'SAS-data-library';
data test;
set sasdata.chemists (keep = job_code);
if job_code = 'chem3' then description = 'Senior Chemist';
run;
The variable JOB_CODE is a character variable with a length of 6 bytes.
Which one of the following is the length of the variable DESCRIPTION in the output data set?
A. 6 bytes
B. 8 bytes
C. 14 bytes
D. 200 bytes
Disclaimer
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Other brand and product names are trademarks of their respective companies.
This blog is not responsible for any kind of copyright violation. This blog just collects the links hosted or posted by other servers/people/search engines.The creator of this page or the ISP(s) hosting any content on this site take no responsibility for the way you use the information provided on this site.If anybody has any copyright claim on it and doesn’t wish the information provided to be shown on our site, please do respond to this email. We shall remove them off immediately. Any inconvenience is regretted. Please do mention your exact grievance/problems with respect to certain third party links. We assure you that appropriate action will be taken off. Thank you
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Other brand and product names are trademarks of their respective companies.
This blog is not responsible for any kind of copyright violation. This blog just collects the links hosted or posted by other servers/people/search engines.The creator of this page or the ISP(s) hosting any content on this site take no responsibility for the way you use the information provided on this site.If anybody has any copyright claim on it and doesn’t wish the information provided to be shown on our site, please do respond to this email. We shall remove them off immediately. Any inconvenience is regretted. Please do mention your exact grievance/problems with respect to certain third party links. We assure you that appropriate action will be taken off. Thank you




28 comments:
Answer: C
At compilation time, SAS finds the occurrence of the variable DESCRIPTION for the first time and sets its length as 14 bytes.
i think it shud be D.. 200 bytes... correct me if i m wrong...
Answer is C
answer is c
Answer is C
Answer is C
the 200 bytes for scan(some var) then u get 200 bytes. not for this it is C only.
D is correct
sorry C is correct answer
Agree with sasguru even if the conditional statement fails the variable gets the size of the charaters it is assigned to.
it would take 14bytes..If it was particularly mentioned as LIST, then it would have taken only 8bytes by default..so C
Answer is C. Variable,Description, has not been given any length. so, It will assume the length of the first value that it will get.
SASGure.....i have one question for u plz answers me.....how many data sets can be use in set statement.i mean maximum no of data sets.
c is correct
Anybody can you help to check whether an Array exist in dataset or not..........
Just like SASGuru said, answer is C.
answer is C. if it is not correct me...
answer c
Answer: C
Try the link below for extra base SAS practice questions.
http://sascert3.blogspot.com/2013/03/base-sas-example-question-11.html
Good luck!
Answer: c
c
answer C
C.
C
The Answer is C..!
Run the following SAS code and see what you got in the EMPSAL dataset:
data salary;
input name $ salary;
datalines;
Bruce 40000
Bruce 35000
Dan 37000
Dan .
;
run;
data employee;
input name $ age;
datalines;
Bruce 30
Dan 35
;
run;
data emplsal;
merge employee (in=ine) salary(in=ins);
by name;
if ine and ins;
run;
Base SAS training in Chennai
Datawarehousing training in Chennai
Informatica training in Chennai
Hadoop training in Chennai
Answer:C Very informative blog and content thank you for sharing with us keep postingsas training,sas online training,learn sas online,sas online course,sas training in bangalore
It's A nice Post.
Advanced Digital Marketing Course in Bangalore
C
Post a Comment