BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
vivekarun12
Calcite | Level 5

Hi.. Am new to SAS..how to run a particular SAS Proc SQL without selecting the code.. I mean i have a set of 10 Proc SQL stmt, i need to run a particular Proc.. How can i achieve this..? Pls help me.. Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

If the steps aren't separated into different programs all you can do is highlight the code. 

 

If if you want to add some sort of conditional logic, eg when x=4 run the 4th proc SQL then you'll need macro logic. 

View solution in original post

1 REPLY 1
Reeza
Super User

If the steps aren't separated into different programs all you can do is highlight the code. 

 

If if you want to add some sort of conditional logic, eg when x=4 run the 4th proc SQL then you'll need macro logic. 

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
  • 1 reply
  • 1074 views
  • 0 likes
  • 2 in conversation