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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

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
  • 922 views
  • 0 likes
  • 5 in conversation