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. 

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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