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.

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

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