OK, thank you very much for all your help

John


-----Original Message-----
From: Dan Kimmel [mailto:dkimmel@xxxxxxxxxxxxxxx]
Sent: Wednesday, August 14, 2013 5:57 PM
To: Java Programming on and around the IBM i
Subject: RE: How to retrieve current default Java version
programatically

V5R4
Prints is a multimember program-described file set at 132
character wide records. The following puts the same messages
as before in the XXX member of PRINTS. Then read the file
with your RPG or CL program.

OVRDBF FILE(STDOUT) TOFILE(DANLIB/PRINTS) MBR(XXX)
qsh cmd('java -version')
Member XXX added to file PRINTS in DANLIB.
Command ended normally with exit status 0.

--
This is the Java Programming on and around the IBM i
(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.



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 3209/6563 - Release
Date: 08/09/13

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 3211/6578 - Release
Date: 08/14/13


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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.