|
Hi thanx for the information, but we where looking at some thing which will convert RPG code to Java so we can port this code on any machine, like windows, linux, unix, which any data base we want, we have a system with about 10,000 RPG programs and would be very difficult to rewrite the system Ashish --- Magne Kofoed <magne@xxxxxxxxx> wrote: > Hi, > this is not java programming, so you probably should > use the > httpapi user group. You will find it on Scott > Klement's web > site. I beleave Scott uses the same group for > httpapi and > ftpapi. > > Just need to know which level of support you need. > Do you have any experience with rpg? > Did you install/restore the HTTPAPI on an iSeries? > > In library libhttp there is a QRPGLESRC source file. > In member LIBHTTP/QRPGLESRC.README you will find how > to > install the api. > > There are several examples on how to use rpg to > communicate > via http. > > In member LIBHTTP/QRPGLESRC.EXAMPLE2 you will find > an > example that is similar to your needed task. > > EXAMPLE 2 description: > This one communicates with a program that's > running on a > web server called a CGI script. Usually, you'd do > this with > a webbrowser -- but here's how you can add this into > your > own programs. > In this case, EXAMPLE2 will communicate with my web > server. > It will perform the same type of action as this web > page > does: > http://www.scottklement.com/contact/ > > It will send the data from the fields on that HTML > form to > the program on my server which converts it to an > e-mail > message, and sends it to > me. > > Note: When you run this, it _really_will_ send me > an E- > mail. > So please take it easy. :) > Compile it by typing: > CRTBNDRPG LIBHTTP/EXAMPLE2 > SRCFILE(LIBHTTP/QRPGLESRC) > DBGVIEW(*LIST) > > > Regards, > Magne > > > Could you help further more? > > I downloaded HTTPAPI, however, I could not try it > out. > > Regards, > Xue Jiguang > IT Division > Canon Singapore PTE LTD > TEL No. (65) 67963544 > FAX No. (65) 62212302 > -- > This is the Java Programming on and around the > iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/java400-l > or email: JAVA400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/java400-l. > > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
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.