BookmarkSubscribeRSS Feed
LS
Calcite | Level 5 LS
Calcite | Level 5
Hi Guys,

I am looking for code example and tips on how to invoke a DB2 stored process where I pass parameters and the procedure sends back parameters to my EG session.
Thank you all for your help
2 REPLIES 2
SASKiwi
PROC Star
I suggest you search the SAS support site as I was able to find numerous references including this one:

<>

In a nutshell you need to write an SQL PASSTHRU query and use the EXECUTE facility to do this. Parameters can be passed back as well as supplied using DB2 SQL syntax.

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1024 views
  • 0 likes
  • 2 in conversation