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



Do you have an example of a program that was generated by the RPGBean
creator that you could post to here so we can get a feel for what it
accomplishes?

Thanks,
Aaron Bartell 


-----Original Message-----
From: rpgnext-bounces@xxxxxxxxxxxx [mailto:rpgnext-bounces@xxxxxxxxxxxx]

Sent: Friday, November 05, 2004 12:03 PM
To: rpgnext@xxxxxxxxxxxx
Subject: [RPGNext] RPGBean Creator - Alpha testers needed...

Howdy Nexters,

Well, it sure has been a busy fall for me.  Back in September, I said I
was about to introduce a new tool to aid with File Encapsulation in RPG.
Well, I finally have what I consider the Alpha version ready.  I need a
couple brave souls to test it for me.  This version works only with SQL,
so you will need the SQL compiler for this to work.  And naturally, it
is built on RPGNEXTLIB, so you will have to have the latest version
installed.

1) Create a save file called RPGBEANSAV.
2) Download the file from
http://www.rpgnext.com/downloads/RPGNEXTSAV.savf
3) FTP it to your AS/400 and RSTLIB RPGBEANLIB

Add RPGBEANLIB and use one of the commands.  There are two commands in
that library:

CRTPTYPMBR - Create Prototype Member
This would be a handy tool whether you are encapsulating or not, it will
read through the source member for a service program and create a /copy
member based on all the EXPORTed procedures.  You can also append these
prototypes to an existing source member.

CRTRPGBEAN - Create RPGBean Service Program Source Member This command
will create a basic encapsulating source member for a service program
based on any physical file.  The procedures created include update,
delete, insert, getRecord, and all the getters and setters.  This
command can optionally create the Prototype member as well (using the
CRTPTYPMBR command above).

The service program is based on a template system, so you can create
your own templates for service programs.  This will be very handy if you
want to customize your own H-Specs and additional /copy's.  There is a
default template included in RPGBEANLIB/QRPGLESRC.

The process is five steps:
1) Create SRVPGM source.
2) Create Prototype /copy member.
3) Create *MODULE for the service program.
4) RTVBNDSRC over the *MODULE.
5) Create the *SRVPGM object.

Right now, the tool only does steps one and two, but steps 3-5 are
coming enhancements, as is a native file access version.  Also, if there
are any CMD geniuses out there, I could sure use some assistance in
cleaning up the and improving the command interface.

I will be out of town until the 15th of Nov., but if you want to send me
e-mail, send it to joelcochran@xxxxxxxxx, I'll be checking that all
week.  I'd really love some feedback on this tool.

Thanks, and happy coding!

Joel
http://www.rpgnext.com

_______________________________________________
This is the RPGNext Discussion and Information (RPGNext) mailing list To
post a message email: RPGNext@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpgnext
or email: RPGNext-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpgnext.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.