java - Calling a RPGIV function from SQL stored proc on DB2 -


hi im trying call rpgiv function stored proc:

create procedure "ven60115"."testjcall1"  (in adui char(20), out prodopiid1 char(20)) dynamic result sets 1  language rpgle  reads sql data  external name 'ven60115/testjv' parameter style general ; 

when test in sql running:

run ven60115.testjcall1(char(20), char(20)) 

the console returnes following message:

ven60115.testjcall1 - run started. data returned in result sets limited first 0 rows. data returned in result set columns limited first 100 bytes or characters. ven60115.testjcall1 - calling stored procedure. 

but job hangs... please me.. or tell me i'm doing wrong?

i have decided call rpg functions using ibm java api's instead of using stored proc's sql.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -