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

*  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.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.