×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi,

I am using jtopen to talk with AS400 V4R4. In my java program,
I created CallableStatement as following:

  connection = DriverManager.getConnection("jdbc:as400://hostname");
  String cmd = "CALL QSYS.QCMDEXC ('DSPPTF OUTPUT(*OUTFILE)
OUTFILE(QTEMP/DMYFILE)',0000000046.00000)";
  CallableStatement cs = connection.prepareCall(cmd);

Then jtopen report error as:
   [SQL0204] QCMDEXC in QSYS type * not found

I checked all previous messages on the forum but no answer. Can anybody
give some inputs?

Thanks,
Forest


This thread ...


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

This mailing list archive is Copyright 1997-2026 by midrange.com 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.