BookmarkSubscribeRSS Feed
ssafmed
Obsidian | Level 7

Hello!

 

I m working in SAS Certification Prep Guide, 4th Edition chapter 11 and I cannot find master.temps in the data of the book : in the example the same as 

master.class in anathor example
data work.report; 
   set master.temps; 
   mon=5*(mon-32)/9; 
   tue=5*(tue-32)/9; 
   wed=5*(wed-32)/9; 
   thr=5*(thr-32)/9; 
   fri=5*(fri-32)/9; 
   sat=5*(sat-32)/9; 
   sun=5*(sun-32)/9; 
run;

 Thanks for hepling!

8 REPLIES 8
sabisw
SAS Employee

@ssafmed What environment are you using?

ssafmed
Obsidian | Level 7
Sas 9.4 windows 10
sabisw
SAS Employee

@ssafmed thanks for reporting this. You can use Sasuser.class and Sasuser.temps. 

 

ssafmed
Obsidian | Level 7

As you can see in screen in the library sasuser there is no class neither temps

 

thanks @sabisw

  SASuser.PNG

ssafmed
Obsidian | Level 7

I execute the file and I get the same! in the chapter Array they use 

master.synyms  hrd.fitclass and no one of them is in any library
sabisw
SAS Employee

Run the following code, and it will create fitclass, class, and temps in the Work folder. I am currently looking for the synyms data set. 

 

data work.fitclass;
   input Name $1-8 Weight1 Weight2 Weight3 Weight4 Weight5 Weight6;
datalines;
Alicia  69.6 68.9 68.8 67.4 66   66.2
Betsy   52.6 52.6 51.7 50.4 49.8 49.1
Brenda  68.6 67.6 67   66.4 65.8 65.2
Carl    67.6 66.6 66   65.4 64.8 64.2
Carmela 63.6 62.5 61.9 61.4 60.8 58.2
David   70.6 69.8 69.2 68.4 67.8 67
;
run;
data work.class;
   input Name $1-7 Score1 Score2 Score3 Homework;
datalines;
LINDA   53 60 66  42
DEREK   72 64 56  32
KATHY   98 82 100 48
MICHAEL 80 55 95  50
;
run;
data work.temps;
   input mon tue wed thr fri sat sun;
datalines;
88.4 98.8 94.2 92.5 88.3 87.4 86.1
98.2 96.2 91.5 85    89.5 84.3 88.2
87.5 88.8 88.7 84.6 81.5 81.4 82.3
;
run;
ssafmed
Obsidian | Level 7

thanks for helping @sabisw 

Welcome to the Certification Community

 

This is a knowledge-sharing community for SAS Certified Professionals and anyone who wants to learn more about becoming SAS Certified. Ask questions and get answers fast. Share with others who are interested in certification and who are studying for certifications.To get the most from your community experience, use these getting-started resources:

Community Do's and Don'ts
How to add SAS syntax to your post
How to get fast, helpful answers

 

Why Get SAS Certified.jpg

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 8 replies
  • 1948 views
  • 1 like
  • 2 in conversation