× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Mike!

Sorry I didn't respond sooner; it's been a busy ... um ... year, to be
honest <grin>.

Anyway, let me ask a silly question to get my bearings here.  How do you
plan to access the database?  Are you using the standard ODBC driver?  If
so, that means the Java program must run on a Windows machine, since there
is no ODBC provider for the iSeries.

Because that's a big issue.  If you try to run the Java program from the
iSeries, it just won't access the Access database (sorry to be redundant).
The Java program must run on a machine that has the appropriate ODBC driver.

Okay, next silly question.  What do you plan to do with the data?  That is,
why are you running this program on the iSeries at all?  Are you accessing
the iSeries database or calling an iSeries program?  If so, are you using
the IBM Toolbox?  If that's the case, then you probably should be running
the program on the Windows box, because you can use the Windows ODBC driver
to access the data, but the IBM Toolbox is smart enough to allow you to call
programs on an iSeries even if the program isn't running on another machine!

So maybe a little more clarification on what you're trying to do before we
travel much farther down the path of where you're storing your class files
(because if you are running on the iSeries, it will be much easier to run
from the IFS, not from a network drive).

Joe


From: Smith, Mike

I've finally gotten back to this and am trying to get it to run.

I have placed the program on the server where the Access database
resides.

My package is named FAC
My java program is called FacilityAccessGetFiles
The location is \\rgc-access\winsx$\IseriesJava

I would like to do 2 things.  It might be redundant.  If it doesn't make
sense tell me.

First,
I want to go to this directory and try to run it directly.  If I right
click on the FacilityAccessGetFiles, I don't see the ability to run this
program.  How would I do this?

Secondly I want to call from CL.
I tried using the information below, but I haven't been able to get it
to run.  I get Class not found.
Using the following
 ===> RUNJVA CLASS('mike\FacilityAccessGetFiles')
CLASSPATH('\\rgc-access\winsx$\IseriesJava\')

Can you set me straight on this?



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-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.