BookmarkSubscribeRSS Feed
NoorulIyn
Calcite | Level 5

This was a question in a certification guide.Could  someone explain this y id statement is declared 3 times ?


This question will ask you to provide a line of missing code. Given the following data set LABS(only first 10 lines shown):

What statement that completes the program to produce the desired output

Response:

IDLABTEST;,IDLABTEST;,

IDLABTEST;

IDLABTEST;,IDLABTEST;,IDLABTEST

4 REPLIES 4
Reeza
Super User

Can you point a reference to the certification guide?

All of those look incorrect to me since they don't have a space after the word ID.

NoorulIyn
Calcite | Level 5

Unfortunately i dont have the link since i copied and closed.But is it possible to have 3 id statements in proc transpose

art297
Opal | Level 21

: Out of curiosity I did a google search for "idlabtest sas" and came across the following: http://wenku.baidu.com/view/b58a1605a8114431b90dd8a3.html

The problem wasn't multiple choice but, rather, fill in the blank.

However, what the site showed as the answer was obviously incorrect:

Answer: IDLABTEST;,IDLABTEST;,IDLABTEST

How they came up with that is a really good question!

Reeza
Super User

Problem with automating extractions.

I was initially going to say contact tech support, but then realized that the question/answer wasn't in a standard SAS format and figured it came from a site like this. 

At any rate, the answer above is wrong. You get what you pay for in these cases :smileymischief:

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1928 views
  • 0 likes
  • 3 in conversation