BookmarkSubscribeRSS Feed
SandyLing
Calcite | Level 5

I want to know the difference with proc sql noprint  and proc sql print.Can you help me?

4 REPLIES 4
manojinpec
Obsidian | Level 7

Noprint option will help preventing the output to be writtent to output window

SandyLing
Calcite | Level 5

But I use print still do not output

manojinpec
Obsidian | Level 7

Please share screenshot

RichardinOz
Quartz | Level 8

The print option has no effect if you are creating a table.  PROC SQL will only print when you select but no table is created, eg

Proc SQL ;

     Select *

     from have ;

quit ;

We use Proc SQL Noprint when we want to create a macto variable but do not need print output ;

Proc SQL noprint ;

     Select value

          into :macvalue

     from have ;

quit ;

Richard in Oz

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 4 replies
  • 1440 views
  • 0 likes
  • 3 in conversation