|
Runjva leaves the QSHELL session open if you call it interactively. > -----Original Message----- > From: Scott Klement [mailto:klemscot@klements.com] > Sent: Friday, April 05, 2002 4:11 PM > To: 'rpg400-l@midrange.com' > Subject: RE: Using the QzshSystem Qshell API > /********* Big Snip ********************************/ > > > > > My motivation was that a co-worker was looking for a way to > call java > > programs from RPG interactively (v4r5) without having to > deal with closing > > the QSHELL session, which I think QzshSystem will do. I > bought him off with > > doing the calls in a submitted job. > > Isn't that what RUNJVA is for? (I may be completely > off-base, I don't use > java from OS/400 at all.) > > > > I do understand the C origins of the Unix type apis. The > file apis, for > > example, are pretty much the same as standard C low level > file I/O. I'd > > just love to see some RPG examples to get an idea how to > handle the things > > that are more difficult than the data type conversions. > Remember Simon's > > fun with printf()? > > I wish it was that simple. For anything more complicated > than the data > type definitions, there usually isn't a "one-to-one mapping". > /********* Big Snip ***************************************/ Exactly. That's where some RPG examples would come in handy. Admittedly there are things like variable argument lists, as you point out, that RPG just doesn't do. OTOH there are some things that can be converted but not as a literal translation. Thanks again.
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.