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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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