BookmarkSubscribeRSS Feed
jaiganesh
Obsidian | Level 7

Hello,

 

 

Can anybody please clarify How to pass input of proc freq into proc report?

 

Regards,

Jaiganesh

2 REPLIES 2
Reeza
Super User

The input of PROC FREQ would be a data set and that data set can be used in the same manner in PROC REPORT.

 

proc freq data=sashelp.class;
table sex age;
run;

proc report data=sashelp.class;
.....


run;

If you're referring to the output of PROC FREQ:

 

proc freq data=sashelp.class noprint;
table sex*age / out=crossTab;
run;

proc report data=crossTab;
....



run;

Otherwise you need to provide more details.


@jaiganesh wrote:

Hello,

 

 

Can anybody please clarify How to pass input of proc freq into proc report?

 

Regards,

Jaiganesh


 

jaiganesh
Obsidian | Level 7

Thanks for reply.

 

Regards,

Jaiganesh

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 443 views
  • 0 likes
  • 2 in conversation