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

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

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
  • 1531 views
  • 0 likes
  • 3 in conversation