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

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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