|
Well, one way is to start qshell as a submitted job. Always helps to at least skim the manual. <g> Has anyone had any experience with QzshSystem? It's a little off topic, but I'm curious what I did wrong. My program compiles and runs with a return code > 0. It just doesn't do anything. I'm calling it like so: eval retval = qzhsystem(%trim(commandtxt)) commandtext contains 'java Hello3 filename' and qzhsystem is the typo I'm using as an alias for QzshSystem. The prototype is: Dqzhsystem pr 10i 0 extproc('QzshSystem') D cmdstring * value options(*string) > -----Original Message----- > From: Joel Fritz [mailto:JFritz@sharperimage.com] > Sent: Thursday, April 04, 2002 10:43 AM > To: JAVA400-L@midrange. com (E-mail) > Subject: calling java from rpg at v4r5 > > > Is there a way to call a java program from an RPG program and > close the > qshell session automatically? > > Would the QzshSystem api do me any good? So far I can get it > to run with a > positive return code, but no visible results. I've tried a > java program > that writes one line to a text file, and redirecting the > output of ls to a > text file.
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.