Help using Base SAS procedures

To Call datastep or dataset in Proc Sql

Reply
N/A
Posts: 0

To Call datastep or dataset in Proc Sql

how can I call datastep or dataset in Proc Sql ?
Super Contributor
Super Contributor
Posts: 3,174

Re: To Call datastep or dataset in Proc Sql

Posted in reply to deleted_user
Please share more about what it is you want to accomplish.

Scott Barry
SBBWorks, Inc.
Super User
Posts: 5,431

Re: To Call datastep or dataset in Proc Sql

Posted in reply to deleted_user
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
Ask a Question
Discussion stats
  • 2 replies
  • 113 views
  • 0 likes
  • 3 in conversation