• Subject: RE: Instantiating an AS400 object
  • From: "Dave Wall" <dawall@xxxxxxxxxx>
  • Date: Wed, 10 Jan 2001 14:20:27 -0600
  • Importance: Normal


Try adding /qibm/proddata/java400/jt400ntv.jar to your classpath.

For more information check out our FAQ at
http://www.as400.ibm.com/toolbox/faq.htm, item "How do I use Toolbox with
OS/400 JVM 1.2 / JVM1.3 on OS/400 V4R5?"

David Wall
AS/400 Toolbox for Java


"Adams, Kevin" <Kevin.Adams@ps.net>@midrange.com on 01/10/2001 01:44:09 PM

Please respond to JAVA400-L@midrange.com

Sent by:  owner-java400-l@midrange.com


To:   "'JAVA400-L@midrange.com'" <JAVA400-L@midrange.com>
cc:
Subject:  RE: Instantiating an AS400 object



No problem.
We are currently running V4R5 of OS/400.
We are currently running V4R5 of the AS/400 Toolbox for Java.
We are currently running the V4R5 release of JDK 1.2.

Here is a direct quote from the AS/400 Toolbox for Java documentation for
the AS400 class

"If running from an AS/400 to another AS/400 or to itself, the system name,
user ID, and password do not need to be supplied. These values default to
the local system. For the system name, the key word localhost can be used
to
specify the local AS/400. For the user ID and password, *CURRENT can be
used."

I have a very simple program, which is called from the QSH command line.
Seems easy enough. All it does it connect to the RECORDACCESS service to
try
to retrieve a record from a keyed file.

-Kevin


> -----Original Message-----
> From: Dave Wall [mailto:dawall@us.ibm.com]
> Sent: Wednesday, January 10, 2001 10:44 AM
> To: JAVA400-L@midrange.com
> Subject: Re: Instantiating an AS400 object
>
>
>
> Please provide a little more information.  What level of the
> Toolbox are
> you using?  What release is the AS/400?  What level of the JDK are you
> using on the AS/400?
>
> David Wall
> AS/400 Toolbox for Java
>
>
> "Adams, Kevin" <Kevin.Adams@ps.net>@midrange.com on
> 01/10/2001 08:17:16 AM
>
> Please respond to JAVA400-L@midrange.com
>
> Sent by:  owner-java400-l@midrange.com
>
>
> To:   JAVA400-L@midrange.com
> cc:
> Subject:  Instantiating an AS400 object
>
>
>
> Anyone having trouble creating an AS400 object using *CURRENT for the
> username and password?
> When I try to connect to one of the services (i.e.
> AS400.RECORDACCESS) it
> tells me that the current user is 'null'.
>
> Any suggestions?
> -Kevin
>
> Kevin Adams
> perotsystems
> 972.577.3154
> kevin.adams@ps.net
>
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to JAVA400-L@midrange.com.
> | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner: joe@zappie.net
> +---
>
>
>
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to JAVA400-L@midrange.com.
> | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner: joe@zappie.net
> +---
>
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.