|
Use the class here to determine what version of the toolbox/jt400 you are using. ftp://ftp.software.ibm.com/as400/products/javatoolbox/AboutToolbox/ Dan Feather Silhouette/PinPoint R&D Programmer Jack Henry & Associates, Inc. dfeather@xxxxxxxxxxxxx -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Tõnis Sent: Thursday, March 11, 2004 12:56 AM To: 'Java Programming on and around the iSeries / AS400' Subject: RE: ProgramCall paremeter length problems I found the solution: Problematic latest JTOpen (4.2) works with V5R2 and doesn't work with V4R5 host. Java Toolbox version packed with V5R2 works with both V5R2 and V4R5. Unfortunately there is no version info supplied with jt400.jar. T. -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf I'm using V4R5 host and Java Toolbox 4.2 (on WinXP/JSE1.4) as development platform. I'm trying to execute programs with ProgramCall but it fails with: -------- Thread[main,5,main] Mon Mar 01 10:51:05 EET 2004 Remote command server return code: 03 02 Thread[main,5,main] Mon Mar 01 10:51:05 EET 2004 Request not valid. ------- The latter is returned from as-rmtcmd host server. It fails only with program parameter buffer LONGER THAN 1024 bytes. With parameters up to 1024 bytes everything works fine. I tested working length with an ILE-C app. I need to use an RPG app that expects 3000 bytes input parameter. I can access the same app on the same host over CA/400 successfully. I have access to an V5R2 host as well. V5R2 doesn't have problems with program parameters longer than 1024 bytes. JTOpen homepage claims that Toolbox 4.2 is compatible with V4R5. Any ideas? _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.