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


  • Subject: Re: RPGIII question
  • From: Matthias Oertli <oertlim@xxxxxxxxxxxxxxxx>
  • Date: Wed, 15 Nov 2000 22:16:15 +1100
  • Organization: Habba doo daa...

Hi,

This sounds exactly like what I need but I'm not quite sure how to
code it. Would it be possible to post an example?
Regards,
Matthias

MacWheel99@aol.com wrote:
> 
> >From Al Mac - here's how I do that
> 
> I create a data structure (DS) in the input specifications in which I overlay
> CDE (array)
> CDE01 CDE02 CDE03 etc. fields such that
> CDE,1 is the same place as CDE01
> CDE,2 is the same place as CDE02
> etc.
> 
> When the physical file is read, the data automatically also goes into the
> data structure spaces CDE01 CDE02 etc. overlaying the CDE array contents.
> 
> Depending on how you access the physical file, you may wish to have one array
> for input / output and another for processing within the calculations.
> 
> If you have a very large array, remember that output specifications & other
> places in the code need to fit in the array identification within 6 positions
> ... so you want to avoid either long array names or long indexes.  PER,MO for
> example (period month) fits, but nothing longer fits.
> 

-- 

---------------------------------------------------------------------
Matthias Oertli   <oertlim@s054.aone.net.au>
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.