BookmarkSubscribeRSS Feed
deleted_user
Not applicable
how can I call datastep or dataset in Proc Sql ?
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Please share more about what it is you want to accomplish.

Scott Barry
SBBWorks, Inc.
LinusH
Tourmaline | Level 20
No, you can not call a data step from within a proc sql
You can read tables or views created by data steps.
From 9.2, you can create your own functions, which you can call from proc sql. These functions a re created by data step like syntax, and are defined by PROC FCMP.

/Linus
Data never sleeps

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