|
Chris, The RPG syntax in VARPG is identical to what you've used in the past on the iSeries Host. The DB files you open need a REMOTE keyword. The user interface part is easier in some repects, than DDS. Take subfules - much easier in VARPG because none of the SFLCTL stuff and no indicators. Tabbed notebooks, which didn't exist in green-screen are a nice way to organize/present information. If you've done any event-driven programming, you'll like the way IBM implemented RPG. The use of visual parts takes some getting used to, but it is intuitive - VARPG makes extensive use of EVAL %SETATR/%GETATR to activate the parts and change their contents and settings using format like: EVAL %SETATR('window':'part':'attribute') = 'newvalue' EVAL x = %GETATR('window':'part':'attribute') The challenging part of VARPG, if there is/was one, used to be the packaging of the completed application for the end user, not the development. Originally, you had to create a package "disk" with the runtime and your application and load it on each system. This however, has been fine-tuned so the install now works over the AN and maybe you can even install once to a LAN drive and have various folks run from there. It is a nice product. You can also generate JAVA from the RPG code, if you like. As far as educational resources, the VARPG install includes a sample of how to use almost every part. These are located in the SAMPLES directory under the VARPG Projects. There are very good manuals that ship as HTML with VARPG - particularly the book about Client Server development with VARPG, if that still exists. The COMMON user group has held VARPG classes at their conference and the postings from these are available at the COMMON website if you are a member. Also, IBM has some materials at their VARPG web site http://www-4.ibm.com/software/ad/varpg/download/downwind.htm#sql and http://www-4.ibm.com/software/ad/varpg/. A lot of people with VARPG experience listen on the this list, so if you ask VARPG related questions, you'll likely get quick answers. Hope that helps. RF Rick Flagler Timken Super Precision (MPB) Keene, NH (603) 352-0310 -----Original Message----- From: Chris Proctor [mailto:cproctor@gartsports.com] Sent: Monday, December 03, 2001 1:06 PM To: CODE400-L (E-mail) Subject: VA RPG Question.... Importance: High This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Hi all, I have never written anything in VA RPG, but I have the opportunity (and the desire) to write an inquiry display with a GUI interface on the AS/400. I believe it's going to be relatively simple to write, IF I can figure out how to use VA RPG! (minor detail! ha ha) I'm using the V5R1 version of the WebSphere Development Tools for iSeries. I've also loaded the SP3. I would like to use the VA RPG Projects. Anyway, now for my question.....Is there a tutorial somewhere that would help me understand how VA RPG works, or is it more complicated than I invision? If it is, forget it! ha ha. I'd appreciate any input. Thanks, Chris Proctor Manager of Systems Integration Gart Sports 1050 Hampden Ave. Englewood, CO 80110 Phone (303) 863-2280 Fax (303) 863-2263 mailto: cproctor@gartsports.com _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l or email: CODE400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. ********************************************************************** This message and any attachments are intended for the individual or entity named above. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others; also please notify the sender by replying to this message, and then delete it from your system. The Timken Company **********************************************************************
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.