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



About twenty years ago, I converted a System 34 to a 38.  

IBM's conversion utility only created files with a "key" field & a "data"
field.  Running DFU on those files was a major pain.  

So, I created proper externally described files.  As for those multi-format
files, I created individual physical files for each format & created a
"Merge" logical to bring them back together.  

The following example the original file was called CSCHELD.  That became the
name of the logical.

      A          R RSCHELD1                  PFILE(CSCHELD1) 
      A          K LACCN                                     
      A          K LTICS                                     
       *
      A          R RSCHELD2                  PFILE(CSCHELD2) 
      A          K LACCN                                     
      A          K LTICS                                     

After that, I only changed a program to RPG III if I was going to make some
other change to it.  Internally described files don't care if the files are
externally described.



\Vincent

 -----Original Message-----
From:   rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Bob Cozzi
Sent:   December 13, 2004 4:13 PM
To:     'RPG programming on the AS400 / iSeries'
Subject:        RE: RPGII to RPG IV

Yes, but I suppose my concern is how the other programs (still in RPGII)
will react to those files once they are converted. This program is not an
island and the files are used in other areas and other applications.
Thanks
-Bob


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of M. Lazarus
Sent: Monday, December 13, 2004 3:01 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: RPGII to RPG IV

Bob,

  Multi-format LF's work quite well for this purpose.  For input only, you 
can create the fields with SST().  But the beast for the long term is 
probably to separate out each format into its own PF and use the MFLF as 
the glue to bring them all together.  The MFLF would have the same name as 
the original PF.

  -mark

At 12/13/04 03:46 PM, you wrote:
>Has anyone moved an old RPGII program to RPGIII and then RPGIV in recent
>months?
>I'm specifically wondering about approaches to move the program-described
>database files to externally describd.
>Most of that is obvious, but what about multi-format files? Do people
simply
>do a rewrite of the app in that situation or is there some simpler method
to
>handle them?
>
>-Bob
>

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

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.