You should also be able to use something like this as the JDBC stored procedure call: CALL QSYS.QCMDEXEC('SNDPGMMSG("Pgm x calling")', 0000000026.00000) Where 26 is the length of the command. This may provide benefits: * Ability to pass ANY cl command to the JDBC SQL connection such as OVRDBF,etc * Create a little utility that takes a command and builds the call qcmdexec SP call string generically * Doesn't require a special CL for each command If had this on my list of things to try. I don't see why it would not work. HTH - Paul Holm
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.