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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 725 views
  • 0 likes
  • 2 in conversation