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



What OS version are you on?

I believe that Java calls were introduced on V5R1...

Mike

----- Original Message -----
From: <MarkB@xxxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Friday, April 04, 2003 9:56 AM
Subject: compiler choking on Java


> I have a simple test program that compiles fine.
> As soon as I add the single line:
>
> Dstr              s               o   class(*JAVA:'java.lang.String')
>
> The compiler complains:
>
>       7 DStr              S               o   class
> (*JAVA:'java.lang.String')
>  ======>                                  a   bbbbb
>  *RNF3302 20 a      000700  The Data-Type entry is not valid; defaults to
> blank
>  *RNF3308 20 b      000700  Keyword name is not valid; the keyword is
> ignored.
>
>
> Seems we aren't set up to call Java from RPG??
> We do have Java set up an running on our systems and I can compile and run
> Java programs.
> Our sysadmin did a quick check and couldn't find any PTFs that looked like
> we needed them.
>
> Any ideas?
>
> Thanks.
> -mark
>
> (Please note that although I've been doing Java/C/etc development for 6
> years I'm an RPG newbie.
> And none of the seasoned RPG guys at my shop do this type of stuff.)
>
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>



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.