BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
tianerhu
Pyrite | Level 9

I have two question:

1, what is the difference between output and report ?

2, how do I check the result when I create a table ?

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Typically a Report is read by people. Data sets (I assume that is what you mean by output) are used as input  to other program elements such as analysis or another report.

 

How to check: depends on what you are checking. If specific calculations provide example data and see if the result matches expectations; if presence/absence of specific values the variety of tools: proc freq to display counts of values, subsetting the data set with where or if statements to see if any records meet/ fail to meet requirement of values.

 

 

View solution in original post

8 REPLIES 8
ballardw
Super User

Typically a Report is read by people. Data sets (I assume that is what you mean by output) are used as input  to other program elements such as analysis or another report.

 

How to check: depends on what you are checking. If specific calculations provide example data and see if the result matches expectations; if presence/absence of specific values the variety of tools: proc freq to display counts of values, subsetting the data set with where or if statements to see if any records meet/ fail to meet requirement of values.

 

 

tarheel13
Rhodochrosite | Level 12

are you talking about proc sql? 

SASKiwi
PROC Star

If you want to create a report from PROC SQL just remove the CREATE TABLE part of your query:

proc sql; * Table ;
  create table want as 
  select *
  from have;
quit;

proc sql; * Report ;
  select *
  from have;
quit;

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 8 replies
  • 1073 views
  • 0 likes
  • 5 in conversation