Following the article, I've:
- created the /QIBM/UserData/Java400/SystemDefault.properties file; it has
one line: java.version=1.4
- created the JAVA_HOME environment variable with "ADDENVVAR
ENVVAR(JAVA_HOME) VALUE('/QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit')
LEVEL(*SYS) "
I also used qsh to check my java version:
qsh
$
java -version
java version "1.4.2"
$
Using wrklnk, I see that I have no JavaVM folder in /QOpenSys/QIBM/ProdData/
- is there some licpgm that I need to install to get the JavaVM?
Tom
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Morgan, Paul
Sent: Wednesday, April 20, 2011 4:08 PM
To: Midrange Systems Technical Discussion
Subject: RE: RPG2SQL - is there something in WebSphere that will do thesame
thing?
Tom,
Here's an article about setting the default JVM:
http://www-01.ibm.com/support/docview.wss?rs=0&dc=DB520&dc=D900&dc=D800&dc=D
A900&dc=DA800&q1=systemdefault.properties+AND+AS400KBXXYYZZRCH&uid=nas1699c5
bd1f701d04e862568f1006c7483&loc=en_US&cs=UTF-8&lang=all
It mentions the JAVA_HOME environment variable and the java.version system
property. You could set those globally or have local values for your
process.
Paul Morgan
Principal Programmer Analyst
IT Supply Chain/Replenishment
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom Hightower
Sent: Wednesday, April 20, 2011 4:32 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: RPG2SQL - is there something in WebSphere that will do thesame
thing?
Alrighty, I've read the article and uploaded the samples to our iSeries
(currently v5r2, btw with no maintence s/w or otherwise). I've worked up a
test program using one of his test programs as an example. The program
creates the database and table, but fails when inserting records with the
following message:
JDK Version 1.4 or later required!
In LICPGM, I see the following:
5722JV1 V5R2M0 Java Developer Kit 1.2
5722JV1 V5R2M0 Java Developer Kit 1.1.8
5722JV1 V5R2M0 Java Developer Kit 1.3
5722JV1 V5R2M0 Java Developer Kit 1.4
I'm not sure what I need to fix/remove/update.
Tom
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: Wednesday, April 20, 2011 9:57 AM
To: Midrange Systems Technical Discussion
Subject: Re: RPG2SQL - is there something in WebSphere that will do the same
thing?
Just use Scott's JDBC Api. Does what you want and the price is great, free!
I use it to go to Sql Server but all you need is the driver for MSQL.
On Wed, Apr 20, 2011 at 8:32 AM, Tom Hightower <tomh@xxxxxxxxxxx> wrote:
We've been using RPG2SQL for 5 years, very happily I might add. After
the first year, "The Power that Is" decided to let the maintenance on
RPG2SQL lapse. We're now about to purchase a new iSeries and upgrade
some of our PCs. This will require that we re-purchase the RPG2SQL
license, or pay a rather steep cost + penalty to maintenance up to date.
TPtI is not happy.
The iSeries side of RPG2SQL will submit an SQL-type of query to a
remote server (PCs running MySQL, in our case), the client software on
the PC will capture that request, perform the SQL retrieval from the
MySQL database and return the results to the iSeries. RPG2SQL is
capable of much more, but this is how we use it; not much else is needed.
I've been tasked with finding an alternative within WebSphere - is there?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.