Hi all,
I just realized that the _default_ templates I provided are expecting
both an error and a messaging service program. So while the default
module will compile, the default service program won't.
Kurt Anderson
Application Developer
Highsmith
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: Friday, September 05, 2008 2:12 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: File Encapsulation Utility
I'm now able to compile the utility at v5r3. I don't think I can go
earlier because the maintenance program uses %subarr().
Kurt Anderson
Application Developer
Highsmith
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: Friday, September 05, 2008 1:55 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: File Encapsulation Utility
In addition to #2, there are also Write and Source Header templates.
Kurt Anderson
Application Developer
Highsmith
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: Friday, September 05, 2008 1:21 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: File Encapsulation Utility
Hi Jon,
Just an hour ago I was searching for something online, found RPG Beans
and turned to my co-worker and said, "You'll never guess what I just
found...."
I've only had a quick glance at Joel's online documentation, and I
haven't run it yet either (though I intend to). That said, I'll simply
mention a couple things about the FE Utility.
1. Supports up to 10 key fields on a file. This is driven by inserting
variables into template source. One downside to this is if you specify
a variable associated to the 10th key, as the default templates that I
supplied do, and there are only 5 keys, the 10th key variable will be
replaced by blanks (which results in some cleanup required of the
generated code).
2. The default templates that are provided include Chain, Clear, Close,
Delete, Get, Open, Read (all read types in one - personal choice),
SetGT, SetLL, SetKey, Unlock, and Update.
3. At a glance, the variables in the FE Utility are less mnemonic due to
the fact I wanted them to be less intrusive in the template source.
4. The following variables are available as both insert and overlay:
Field Name
Field Description
Field Size
File Name
File Description
Record Name
Procedure Member
Binding Directory Member
Prototype Member
Current Date
Current User Name
Key(1-10) Field Name
Key(1-10) Field Description
5. A source template can be specified to be associated with either the
procedure, prototype, or binding source. It can also be set at the file
or field level. A file level source will create once per file. A field
level source will create once per field in the file. A maintenance
program is included to work with the templates.
Note to those who have the tool now: Where above I said "Procedure
member" in the command, it currently says RPGLE. The two are
interchangeable (I'll be updating the program soon to reflect the new
term).
Kurt Anderson
Application Developer
Highsmith
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Friday, September 05, 2008 12:07 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: File Encapsulation Utility
On 5-Sep-08, at 11:54 AM, rpg400-l-request@xxxxxxxxxxxx wrote:
A co-worker and I put together a utility that will create a file
encapsulated service program and we're looking for people to give it a
try if anyone's interested.
Always interested in these kinds of development.
Can you offer any comments on how your system differs from the approach
taken by RPG Beans? (
http://www.rpgbeans.com/)
Jon Paris
www.Partner400.com
www.SystemiDeveloper.com
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.