Using DB2 Stored Procedures

I’ve a Stored Procedure on a DB2 Database that I would like to call from a Natural Object (SubProgram)

It is possible?

thanks in advance.

Sure. Use the CALLDBPROC statement.

Even in a Mainframe Natural? Cause I searched for the command help and it wasn’t possible to find…

What version of Natural are you on and do you have Natural DB2 installed?

Natural DB2 Installed and both with version 4.1.4

Hmmm… There isn’t any help inside of Natural for this command or any other DB2 statement for some reason, but it is documented in the web-based documentation. Try this link: