JAVA on the iSeries:
For those who are interested and don't already know, I thought I'd put together some
quick tips for running JAVA on the iSeries.
Step 1: Write a JAVA application. This is done in the same way that you would if
you were going to run your JAVA on your desktop PC.
Step 2: Export your newly created JAVA class(es) to a .jar file.
Step 3: FTP said .jar file (along with any other necessary .jar files) to the iSeries.
Step 4: Run the class in question.
Steps 1 & 2 warrant no elaboration, but steps 3 & 4 bear exploring further.
Elaboration on Step 3:
At some point you're going to want to get your files to the iSeries. How is this
accomplished? Through FTP, baby.
NOTE ON FTP: If you'd like to work with IFS (which makes it easier for working with QSH), the first thing that you want to do after you are logged in is type:
quote site namefmt 1
In doing so, you are telling the FTP session that you are wanting to interact
with the IFS.i
You will next want to set the transfer type to binary. This is done by typing,
rather intuitively, the word binary.
Elaboration on Step 4:
A couple of notes:
1 – there are at least two ways to run JAVA on the iSeries. One is to enter the QShell. This is entered by typing QSH from any command line. You are now, for all practical purposes, working in a UNIX environment. At this point, you can work with JAVA in the same way as you would from any *NIX shell.
The other way is to run the command RUNJVA. Example:RUNJVA CLASS (com.test.Hello) CLASSPATH(‘/test/hello.jar’) where com.test.Hello is the class to execute and is located in /test/hello.jar. I've yet to determine whether or not this method also relieson
i
Excerpt from: http://faq.midrange.com/data/cache/264.html
After you log on, the very first command to use is quote site namefmt 1.
This tells the FTP server on the iSeries to use the IFS naming convention.
By the way, you can still refer to objects in the library system even if
you're in IFS name mode:
/qsys.lib/mylibrary.lib/myfile.file/mymember.mbr
To switch back to library mode, be sure your current directory is in the
library system: cd /qsys.lib/mlibrary.lib Then, you can change back to library
name mode: quote site namefmt 0
Monday, November 07, 2005
Two Words
There are only two words to describe the video Jetsetter by MorningWood.
"Mmmmmm.....Booobiiiiiiies."
I think I shall review it again :)
"Mmmmmm.....Booobiiiiiiies."
I think I shall review it again :)
Are we moving beyond abortion?
It seems that evangelical Christians might be seeing beyond the abortion issue. The question: Will this turn the Republican Party into a better party?
- OR -
Will it see more evangelical Christians defecting to the Dems? Thus, perhaps, turning the Democratic party into a better party as well?
- OR -
Will it see more evangelical Christians defecting to the Dems? Thus, perhaps, turning the Democratic party into a better party as well?
Subscribe to:
Posts (Atom)
DBT-50000 when using DBCA.bat on Windows (Oracle 19.11)
I’ve been having some trouble getting DBCA to run in order to create databases. Thought I’d share it with you, and thus document it for la...
-
Most of what we're going to want to look at when you're having production issues are available through DMV's. If granti...
-
I was not able to find what I considered a good, clear reference for this when I recently encountered it at a customer installation. I fou...
-
I spent a lot of time on this one, and it wasn't clear from examples precisely how the various items should be used together. The form...