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


  • Subject: RE: record-level access
  • From: "Cummings, Wanda" <Cummings@xxxxxx>
  • Date: Thu, 4 May 2000 18:33:23 -0400

thank you so much.....that was my problem........i could not understand what
was wrong!!!!!!!!!!
i am very happy that midrange has this service for us, i dont know where i
was going to go next. everyone in this shop is RPG,trying to learn JAVA. 
thank you once again....
 
> -----Original Message-----
> From: dawall@us.ibm.com [SMTP:dawall@us.ibm.com]
> Sent: Thursday, May 04, 2000 4:24 PM
> To:   JAVA400-L@midrange.com
> Subject:      Re: record-level access
> 
> Environment variable names are case sensitive.  Try ENVVAR(CLASSPATH).
> 
> David Wall
> AS/400 Toolbox for Java
> 
> 
> "Cummings, Wanda" <Cummings@AE.com> on 05/04/2000 12:42:37 PM
> 
> Please respond to JAVA400-L@midrange.com
> 
> To:   "'JAVA400-L@midrange.com'" <JAVA400-L@midrange.com>
> cc:
> Subject:  record-level access
> 
> 
> 
> 
> I am having trouble with the following statement in my java program: i am
> trying to use the record-level to access an AS400 file.
> 
>  // Step 1:
>  // Connect to an AS/400
>  as400 = new AS400("localhost");
> 
> when i compile the java program in QSH, i get the error
> 
> 
>   $
> 
> > javac /myjava/ListRecord.java
> 
>   /myjava/ListRecord.java:13: Class jt400.AS400 not found in type
> declaration.
>      as400 = new AS400("localhost");
> 
>                  ^
> 
>   1 error
> 
>   $
> 
> 
> i did the following addenvvar before the compile:
> 
>  Current QSH session ended.
>  ADDENVVAR ENVVAR(classpath) VALUE('/QIBM/ProdData/HTTP/Public/jt400/lib/j
>  t400.zip')
> (the AS400.class is in the jt400.zip file)
> 
> i am not sure about this import statement in my java program:
> import com.ibm.as400.access.*;
> 
> when i look in the access folder, it is empty.......should there be
> something in access? zip files or jar files for the AS400.class...
> 
> any help would be appreciated....this is my first attempt of a java
> program
> on the as400, accessing an as400 file
> 
> wanda cummings
> cummings@ae.com
> 
> 
> 
> +---
> | 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-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.