× 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: Need Help to Start
  • From: Don Strickland <dstrickland@xxxxxxx>
  • Date: Tue, 2 May 2000 11:25:35 -0700

Pascal,

I put a segment of my RPGLE below.  It came from the book:      
*  e-RPG  Building As/400 Web Applications with RPG (from Midrange
Computing)

As you can see, it uses RPGLE and an HTML API to write the page. You cannot
run the program in the AS400.  In your browser, you enter:
HTTP://machineID/library/program.pgm

There's some setup work you need to get this to work, but work it does. 

Just presented this idea and demo to my manager.  He has some ideas he wants
me to pursue.  Looks like we'll go live with some of this in the near
future.

Good luck,

Don

 ******************************************************************
C     $WrtCls       BEGSR                                          
                                                                   
C                   EVAL      WrtDta = '</TABLE>' + NewLine        
C                   EXSR      $WrtStOut                            
                                                                   
C                   EVAL      WrtDta = '</BODY></HTML>' + NewLine  
C                   EXSR      $WrtStOut                            
                                                                   
C                   ENDSR                                          
 ******************************************************************
C     $WrtStOut     BEGSR                                          
                                                                   
C                   EVAL      WRTDTALEN = %LEN(%TRIM(WRTDTA))      
                                                                   
C                   CALLB     'QtmhWrStout'                        
C                   PARM                    WRTDTA                 
C                   PARM                    WRTDTALEN              
C                   PARM                    WPERROR                
                                                                   
C                   ENDSR                                          


-----Original Message-----
From: Pascal Bellerose [mailto:pascal.bellerose@progisys.com]
Sent: Tuesday, May 02, 2000 10:56 AM
To: 'JAVA400-L@midrange.com'
Subject: RE: Need Help to Start


Don, 

        I would like to know how you make Dhtml with RPGLE because we're
trying to do the same as you do in JAVA/400 , and when I've read that you
were doing DHTML with RPGLE, there were question marks growing in my head
(????) is it a translation via VARPG or is it that your DHTML is using RPGLE
modules? 

-----Message d'origine-----
De : Don Strickland [mailto:dstrickland@800.com]
Envoye : mardi 2 mai 2000 12:22
A : 'JAVA400-L@midrange.com'
Objet : RE: Need Help to Start



Atul,

I too am learning how to get Java up on the AS400.  I had to step back
though to first understand the As400's role using this environment.  I am
using RPGLE to write dynamic HTML for the browser.  It works great, is
quick, and is teaching me the configurations required to have the PC
cooperate with the AS400.   

I am also using IBM's Visual Age for Java, though I'm having trouble getting
the security to work properly.

The two references I am using to learn are:

*  e-RPG  Building As/400 Web Applications with RPG (from Midrange
Computing)
*  IBM Red Book: Building AS/400 Applications with Java (SG24-2163-02)  

Note:  The Red Book has technical errors in its coding, so beware.  The
configuration portion is written well though.


Good luck.

Don Strickland
800.COM




-----Original Message-----
From: Atul Ghanekar [mailto:atulghanekar@yahoo.com]
Sent: Monday, May 01, 2000 9:09 PM
To: JAVA400-L@midrange.com
Subject: Need Help to Start


Hello Friend 

It might sound odd. But I have a model 170 AS/400
in my company. I have worked on AS/400 and S/36 for
last 9+ years and started learning JAVA. 

I need kind of Guidance as to How to start using 
JAVA on AS/400, will anybody help ? 
I have a team of 15 people on AS/400, we all wish to 
move to JAVA on AS/400. 

I have subsribed to this mail only on Saturday and I
got about 17 mails today, thats great ... 


May be let me know different sites where I can get
material to start working with JAVA on AS/400. 
Currently I can understand what is happening in JAVA
since I have installed JDK on my laptop and can write
programs and understand the terminology.

Regards,

Atul.

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.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
+---
+---
| 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.