I have a rpgle client trying to call DB2 JDBC procedures in a service program. None of my procedures are being found. I have a code example but no procedure is binding to the client.
For example: The getBytes is not found. I did a crtsrvpgm with export *all.
---------------------Client Program------------------------------------------------------------------------
Sfl1fld = getBytes(getColumnName(rsmd: %int(rrn)));
Sfl1attr = getBytes(getColumnTypeName(rsmd: %int(rrn)));
---------------------Service Program--------------------------------------------------------------------------
************************************************** ********************
*
* getBytes Convert String to AlphaNumeric
*
************************************************** ********************
P getBytes B Export
D getBytes PR 100A VARYING
D EXTPROC(*JAVA
D : 'java.lang.String'
D : 'getBytes')
P getBytes E
For example: The getBytes is not found. I did a crtsrvpgm with export *all.
---------------------Client Program------------------------------------------------------------------------
Sfl1fld = getBytes(getColumnName(rsmd: %int(rrn)));
Sfl1attr = getBytes(getColumnTypeName(rsmd: %int(rrn)));
---------------------Service Program--------------------------------------------------------------------------
************************************************** ********************
*
* getBytes Convert String to AlphaNumeric
*
************************************************** ********************
P getBytes B Export
D getBytes PR 100A VARYING
D EXTPROC(*JAVA
D : 'java.lang.String'
D : 'getBytes')
P getBytes E
Comment