Click on the Comments to view the Answers

Wednesday, January 27, 2010

Q22

The following SAS program is submitted:

data work.staff;
JobCategory = 'FA';
JobLevel = '1';
JobCategory = JobCategory || JobLevel;
run;

Which one of the following is the value of the variable JOBCATEGORY in the output data set?

A. FA
B. FA1
C. FA 1
D. ' ' (missing character value)

28 comments:

SASGuru said...

Answer: A

When SAS sees the JOBCATEGORY for the first time it sets the length to 2 characters…The concatenated ‘FA1’ gets truncated to ‘FA’ becoz of the length

Rujuta........ said...

A. FA

vineeth said...

it should be FA 1....since concatenate in SAS just appends the two variabls by memory location i.e FA is of 8 characters, so after FA there will be spaces in middle and then it will be 1.

siva said...

Answer A

mastreo said...

if i set the length for jobcategory before to 5 also ,the ans will be 'fa' only.

how is it possible?

Sree said...

data work.staff;
jobcategory='fa';
JobLevel = '1';
Job = jobcategory || JobLevel;
run;
then job= FA 1

Dnyaneshwar Ambhore said...

output=FA1

Sree said...

Here ans is FA only
if we use Job=jobcategory || joblevel then it gives job = FA 1
BUT if we use jobcategory=jobcategory || joblevel then output FA
ones the value assigned for jocategory as FA it should be FA

SO here ans is FA only

Ryan Lo said...

Agreed with SASGuru. Answer is A.

kinnari said...

Answer is A coz we have used the same name job category for concatenate.

andrew smith said...

Good question for SAS program.My answer is A

Gaurav Verma said...

A

SUDHANSHU SAXENA said...

rally great... this blog really help the students.........ISO Certification Mumbai

ITCertification Dumps said...
This comment has been removed by the author.
ITCertification Dumps said...

Very good information for IT certification dumps thanks :)

H. C. said...

A

Charles Napier said...
This comment has been removed by the author.
Charles Napier said...

I tried using a length statement in an attempt to get JobCategory to hold FA1, didn't work how can this work with a length statement or can it?
data work.staff;
length JobCategory $11.;
JobCategory = 'FA';
JobLevel = '1';
JobCategory = JobCategory || JobLevel;
run;

proc print data=work.staff;
run;

Harsh Mohan said...

For latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.

Refer our blog for more details http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html

Cca 175 Certification said...

Your blog is much effective and thanks for sharing information.. Here we are providing training & materilas and dumps for those who are preparing for cca 175 spark and hadoop developer certification exam and in the related fields of cloudera hadoop developer certification exam.
cca 175 certification
cloudera hadoop developer certification
cca 175 spark and hadoop developer certification
hadoop developer certification

Madhu Manohar said...

Useful Information
one and only affiliate agency in south INDIA, earn money online from affiliate network in india

Harsh Mohan said...

For latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.
Refer our blog for more details http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html

Sofita Paul said...

Base sas certification is high in demand as job openings are mostly based on SAS base certification. I strongly recommend you to clear your Base SAS certification with analyticsexam as it is maintained by SAS experts and experienced professionals. I was able to manage 90% in my exam and questions was so close to practice exams from analyticsexam

Webtrackker Noida said...

Webtrackker technology is the best IT training institute in NCR. Webtrackker provide training on all latest technology such as sas training. Webtrackker is not only training institute but also it also provide best IT solution to his client. Webtrackker provide training by experienced and working in the industry on same technology.Webtrackker Technology C-67 Sector-63 Noida 8802820025

SAS training institute in indirapuram


SAS training institute in Noida


SAS training institute in Ghaziabad


SAS training institute in Vaishali


SAS training institute in Vasundhara


SAS training institute in Delhi South Ex

Webtrackker Noida said...

Webtrackker technology is the best IT training institute in NCR. Webtrackker provide training on all latest technology such as sas training. Webtrackker is not only training institute but also it also provide best IT solution to his client. Webtrackker provide training by experienced and working in the industry on same technology.Webtrackker Technology C-67 Sector-63 Noida 8802820025

SAS training institute in indirapuram


SAS training institute in Noida


SAS training institute in Ghaziabad


SAS training institute in Vaishali


SAS training institute in Vasundhara


SAS training institute in Delhi South Ex

Sofita Paul said...

Aspiring to go ahead with Base SAS certification. Was looking for complete Base SAS questions and material to go ahead with A00-211 certification. I found your blog with very nice piece of information and go ahead to follow. I found other good websites too, that will too help me.!!! Later I am looking for online Base SAS exam practice questions and exam to boost my confident to crack SAS certification exam at first attempt

Karthika Shree said...

This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
SAS Training in Chennai

Karthi Keyan said...

Interesting blog post.This blog shows that you have a great future as a content writer.waiting for more updates...
seo company in Chennai

Post a Comment



Technology Top Blogs On our way to 1,000,000 rss feeds - millionrss.com Hihera.com Blog Directory - OnToplist.com blogarama - the blog directory Blog Directory
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