Running DB2 stored procedures

Clients execute DB2 stored procedures in different ways, depending upon the SQL transformation mode in effect.

In passthrough mode, the command is:

{call procname(parm1, parm2, ... parmn )}

or

{call procname( ?, ?, ?, ..., ? )}

where procname is the name of the stored procedure.

In sybase mode, the command is:

EXEC procname argvalues
EXECUTE procname argvalues

where: