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



Mike

Visual Age RPG can create Java classes from RPG source, I think. Booth Martin, on this list, might have more to say on that. The RPG can be imported from the iSeries to VARPG. I wonder whether this can be useful in converting.

Moving to an all-Java from heavy RPG? I hope not. Performance will probably take a serious dive. (Personal opinion - I think Java performance is pretty poor, generally, although IBM claims it is very good natively on the iSeries.)

You might also go to www.iseries.ibm.com/infocenter and pick North America, then V5R3 (or whatever the version of iSeries you have). Then look under Programming in the menu, then Java, then there is a topic on using it with other languages.

Good luck
Vern

At 04:30 PM 9/8/2004, you wrote:

Thanks a lot Charles. That solves my 'Hello World' problem, I surmise.:-). Well, this is the situation...I am a Java programmer and there ours is a pure AS400 shops where lots of programs are written in RPG and we are moving towards Java and we will be going through a translation project in a year or so and in the mean time I need to understand RPG so that when those programs get converted into Java I need to understand the Logic behind those RPG programs so as to make sure that no garbage is coming out into Java classes. Well, please let me know if that gives you any idea of the problem I am in...if not I will be glad to elaborate. Thanks a bunch for the response.

Mike.

From: CWilt@xxxxxxxxxxxx
Reply-To: Websphere Development Studio Client for iSeries<wdsci-l@xxxxxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxx
Subject: RE: [WDSCI-L] (no subject)
Date: Wed, 8 Sep 2004 17:02:22 -0400 MIME-Version: 1.0
Received: from mail.midrange.com ([69.3.23.26]) by mc5-f22.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 8 Sep 2004 14:07:36 -0700
Received: from linux.midrange.com (localhost [127.0.0.1])by mail.midrange.com (8.13.0/8.13.0) with ESMTP id i88L2rMW007988;Wed, 8 Sep 2004 16:02:53 -0500
Received: from geneva.dli.net (imx2.dli.net [140.237.59.13])by mail.midrange.com (8.13.0/8.13.0) with ESMTP id i88L2dPt007958for <wdsci-l@xxxxxxxxxxxx>; Wed, 8 Sep 2004 16:02:44 -0500
Received: from iscan3.dli.net (iscan3.dli.net [140.237.59.17])by geneva.dli.net (8.9.1/8.9.1) with SMTP id OAA32352for <wdsci-l@xxxxxxxxxxxx>; Wed, 8 Sep 2004 14:02:38 -0700 (PDT)
Received: from 140.237.59.10 by iscan3.dli.net (InterScan E-Mail VirusWall NT);Wed, 08 Sep 2004 14:02:38 -0700
Received: from cairo.mea.com (relay.mea.com [140.237.254.11] (may be forged))by munich.dli.net (8.9.1/8.9.1) with ESMTP id OAA24001for <wdsci-l@xxxxxxxxxxxx>; Wed, 8 Sep 2004 14:02:37 -0700 (PDT)
Received: from mason7.meaa.mea.com ([140.237.114.36])by cairo.mea.com (8.9.1/8.9.1) with ESMTP id OAA33925for <wdsci-l@xxxxxxxxxxxx>; Wed, 8 Sep 2004 14:02:26 -0700 (PDT)
Received: by mason7.meaa.mea.com with Internet Mail Service (5.5.2657.72)id <SMQC3C8K>; Wed, 8 Sep 2004 17:02:23 -0400
X-Message-Info: yilqo4+6kc4S8gOot9GHqO6XAmjYTJmX
Message-ID: <33EC5C107656D31196090008C7E90FDB04301F1D@xxxxxxxxxxxxxxxxxxx>
X-Mailer: Internet Mail Service (5.5.2657.72)
X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75con linux.midrange.com
X-Virus-Status: Clean
X-BeenThere: wdsci-l@xxxxxxxxxxxx
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Websphere Development Studio Client for iSeries <wdsci-l.midrange.com>
List-Unsubscribe: <http://lists.midrange.com/mailman/listinfo/wdsci-l>,<mailto:wdsci-l-request@xxxxxxxxxxxx?subject=unsubscribe>
List-Archive: <http://archive.midrange.com/wdsci-l>
List-Post: <mailto:wdsci-l@xxxxxxxxxxxx>
List-Help: <mailto:wdsci-l-request@xxxxxxxxxxxx?subject=help>
List-Subscribe: <http://lists.midrange.com/mailman/listinfo/wdsci-l>,<mailto:wdsci-l-request@xxxxxxxxxxxx?subject=subscribe>
Errors-To: wdsci-l-bounces@xxxxxxxxxxxx
Return-Path: wdsci-l-bounces@xxxxxxxxxxxx
X-OriginalArrivalTime: 08 Sep 2004 21:07:36.0975 (UTC) FILETIME=[DE1EA1F0:01C495E7]



c dsply 'Hello World' c eval *INLR =*ON


or in free-format

     /free
         dsply 'Hello World';
         *INLR = *ON;
     /end-free


That's it. The whole program just 2 or 4 lines. Now you know <grin>

Seriously though, I'm not sure Visual Age RPG is what you should be looking
at to learn RPG.  Visual Age RPG is for writing PC client programs.
Basically, it provides an easy way to write Client-Server programs in shops
that don't know anything but RPG.  I don't know what the differences are
between VARPG and RPG on the server.  But usually, when dealing with RPG you
are talking RPG on the server.

Now as far as learning.  The IBM manuals are here:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/rzahgrpgcode.htm

Additionally, you might want to look at the books available on one of these
sites:
http://www.midrange.com/
http://www.iseriesnetwork.com/
http://www.mcpressonline.com/

You might want to join the RPG mailing list also.  Since WDSc is simply the
editor.
http://www.midrange.com/lists.htm

HTH,
Charles



> -----Original Message-----
> From: Mike Troxclaire [mailto:mike_troxclaire@xxxxxxxxxxx]
> Sent: Wednesday, September 08, 2004 4:40 PM
> To: wdsci-l@xxxxxxxxxxxx
> Subject: RE: [WDSCI-L] (no subject)
>
>
>
> Thanks a lot for the reply Michael. Yes, I am wanting to
> learn RPG. I have
> WDSC/CODE/400/VisualAge RPG. I like VisualAge RPG because of the GUI
> interface/event driven programming model but I am not sure it
> that is the
> right direction for me. But it all boils down to the fact
> that "I want to
> learn RPG". If you give me a CODE/400 untitled document I
> could not tell you
> how to code a 'Hello World' program in RPG(that bad in RPG
> :-). I am good at
> Java though. Any advice will be much appreciated. Thanks again.
>
_______________________________________________
This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx


_______________________________________________
This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.