Which one of the following statements is true regarding the SAS automatic _ERROR_ variable?
A. The _ERROR_ variable contains the values 'ON' or 'OFF'.
B. The _ERROR_ variable contains the values 'TRUE' or 'FALSE'.
C. The _ERROR_ variable is automatically stored in the resulting SAS data set.
D. The _ERROR_ variable can be used in expressions or calculations in the DATA step.
Click Comment link to get answer
You can write the values of SAS automatic variables to the SAS log to help you analyze your program and data. Your code can test the values of SAS automatic variables to direct conditional execution of DATA step statements.
ReplyDeleteAutomatic variables are temporary and SAS does not store them in the data sets it creates. To save the value of an automatic variable, assign its value to a data set variable.
When to use:
Always review the SAS log to look for notes indicating that _ERROR_ was set to 1.
Set _ERROR_ to 1 in your code for errors you want flagged in the SAS log. FIRST.variable Indicates whether the data values being processed are from the first observation in a BY group where: variable is the BY-group variable to examine.
Answer is B and D..
ReplyDeleteThe value of _error_ is 0 or 1, not true or false (though they are logically equivalent). Answer is just D
DeleteAnswer D
ReplyDeleteD
ReplyDeleteAnswer is no B, because the value is 1 or 0
ReplyDeleteThe value is 1 or 0,it cannot be true or false.So D is the answer.
DeleteThe answer is A as on off means 0 or 1 and _error_ stores the value 1 when there is error or intitalizes it to 0 when no error is there.
ReplyDeleteanswer is D.
ReplyDeleteboth A and B are wrong because the question says the value of _ERROR_ is'ON' or "OFF' it refers to the word on and off not logical valu 0 and 1.
Similar explanation for B also
good point!
Deleteyes u'r correct
DeleteB
ReplyDeleteThe answer is for sure D, because _ERROR_ can be used in calculations or expressions. it is represented by 1 or 0
ReplyDeleteanswer is D
ReplyDeleteagreed that it cannot literally take on the values of on/off or true/false if it is 0/1 so d
ReplyDeleteanswer is d I think
ReplyDeleteAutomatic variable is kind logical expression _ERROR_ represented values eitther o (or)1
ReplyDeleteAnswer is C
ReplyDeleteans is c. if it show error . the variable name will be stored but the obs for that will not be delivered. so i think ans is c....
ReplyDeleteCorrect Answer is D
ReplyDeleteanswer is D
ReplyDeleteanswer is D.
ReplyDeleteans is c
ReplyDelete_N_ and _ERROR_ are not written to the data set.
ReplyDeleteA is the answer because other answer are not tangible
ReplyDeleteSakar Sham
ReplyDeleteAnswer is D, in data vector _n_ and _Error_ created and as the error flag that step is done, so it is part in calculation.
D
ReplyDeleteAnswer: D
ReplyDeleteD
ReplyDeleteAns is D. Very straight forward question.
ReplyDeleteCan't be:
-> A & B b'coz _ERROR_ values is either 0 or 1.
-> C - It's not part of resulting dataset but it is part of Program Data Vector.
its a part of dataset but hidden
Deleteans) C and D
D
ReplyDeleted
ReplyDeleteAnswer: D
ReplyDeleteCheck out my new Base SAS practice question at the link below:
http://sascert3.blogspot.com/2013/03/base-sas-example-question-51.html
Good luck!
Answer is D
ReplyDeleteD
ReplyDeleteD
ReplyDeleteB and D if we consider 1 for True
ReplyDeleteThe Answer is D. However if there are 3 errors in the datastep, what is the value of _error_ variable?
ReplyDelete1
DeleteThanks Karen I needed that. I am autistic and on disability.
ReplyDeletegclub
gclub casino online
c
ReplyDeleteThis is an amazing post which is so clear.
ReplyDeleteI think this article easy to understand that reader could get useful information and learn lots of things.
Get Best Anti Adware. Also read about packers and movers in Salt Lake.
D
ReplyDeleted
ReplyDeleteThis is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information.
ReplyDeleteRead article on Things to Wear when you’re Working at Height.
Read Link Resources Blogs
Read Safety Tips When you Working at Heights.
Thank you for sharing valuable comments for us its very incredible post to whom looking for a particular course if any one who want to learn tally core to advance
ReplyDeleteSAS Training in Bangalore
Thanks For sharing a nice post about all Course.It is very helpful and for us.
ReplyDeleteSAS training in bangalore
SAS institutes in bangalore
The Most Popular Slots in Michigan | DMC
ReplyDeletePlay one of the best slots in 제천 출장마사지 Michigan. Our Top-Rated Casino 전라남도 출장샵 Game 여수 출장마사지 Selection, including The Best Casinos in 당진 출장샵 Michigan. Play for free at the 부산광역 출장마사지 best online
------------------------------------------------
ReplyDeletewww.iceway.fun
------------------------------------------------
Englisch
Not sure what to do in your spare time? Visit iceway.fun, we have a wide range of more than 1000 free unique arcade games. In addition, we are the only game site in Europe with a huge book collection. So what are you waiting for? see you at iceway.fun
Arabic
لست متأكدا ماذا تفعل في وقت فراغك؟ قم بزيارة iceway.fun ، لدينا مجموعة واسعة من أكثر من 1000 لعبة أركيد مجانية فريدة من نوعها.بالإضافة إلى ذلك ، نحن موقع الألعاب الوحيد في أوروبا الذي يحتوي على مجموعة ضخمة من الكتب. فما تنتظرون؟ اراك في iceway.fun
Chinese
不知道在業餘時間做什麼?訪問iceway.fun,我們擁有超過1000 款免費獨特的街機遊戲。此外,我們是歐洲唯一擁有大量圖書收藏的遊戲網站。你還在等什麼?在iceway.fun見
French
Vous ne savez pas quoi faire pendant votre temps libre ? Visitez iceway.fun, nous avons une large gamme de plus de 1000 jeux d'arcade uniques gratuits. De plus, nous sommes le seul site de jeux en Europe avec une énorme collection de livres. Alors qu'est-ce que tu attends? à bientôt sur iceway.fun
Russian
Не знаете, чем заняться в свободное время? Посетите iceway.fun, у нас есть широкий выбор бесплатных уникальных аркадных игр, более 1000. Кроме того, мы являемся единственным игровым сайтом в Европе с огромной коллекцией книг. И так, чего же ты ждешь? увидимся на iceway.fun
Spanish
¿No sabes qué hacer en tu tiempo libre? Visite iceway.fun, tenemos una amplia gama de más de 1000 juegos de arcade únicos y gratuitos. Además, somos el único sitio de juegos en Europa con una gran colección de libros. ¿Entonces, Qué esperas? nos vemos en iceway.fun
------------------------------------------------
Take me to the best game site in Europe
------------------------------------------------