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



Alternating format described in "Judy Yaegar's book Programming in RPG IV"
is when you have pairs of data in  a table, where you define one table as
the primary and the other one would be alternating. 

Example of two tables, table code on abbreviation for the state and the
alternating table on the states name.

***CTDATA TABCODE
AKALASKA
ALALABAMA
ARARKANSAS

D  TABCODE   S     2   DIM(50) CTDATA ASCEND PERRCD
(1)
D  TABNAME    S   14  DIM(50) ALT(TABCODE)

> -----Original Message-----
> From: oludare [SMTP:oludare@ix.netcom.com]
> Sent: Thursday, February 10, 2000 1:40 PM
> To:   RPG400-L@midrange.com
> Subject:      Re: 
> 
> Rob,
> 
> Excuse my ignorance but what makes a table or an array ALTERNATING.
> 
> Oludare
> 
> 
> ----- Original Message -----
> From: <ilechr@cbs.fiserv.com>
> To: <rpg400-l@midrange.com>
> Sent: Thursday, February 10, 2000 10:30 AM
> 
> 
> > Gentlemen,
> >
> > Does anyone happen to know if there are any performance differences
> between
> > alternating tables and alternating arrays?
> >
> > Robert Ilechuku
> > ilechr@cbs.fiserv.com
> >
> >
> > +---
> > | This is the RPG/400 Mailing List!
> > | To submit a new message, send your mail to RPG400-L@midrange.com.
> > | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> > | To unsubscribe from this list send email to
> RPG400-L-UNSUB@midrange.com.
> > | Questions should be directed to the list owner/operator:
> david@midrange.com
> > +---
> 
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 ...


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.