To call the stored procedure described in How an Application Works with a Stored Procedure, your application might use this statement:
EXEC SQL CALL GETEMPSVR (:V1, :V2) END-EXEC
If you use host variables in the CALL statement, you must declare them before using them.