|
Have you looked at the RPG IV Redbook, it has some examples doing this including sorting and searching the list. I used there examples to build some procedures in a service program for working with lists to hide all the details. Scott Mildenberger > -----Original Message----- > From: SCarter@rsrcorp.com [SMTP:SCarter@rsrcorp.com] > Sent: Tuesday, January 08, 2002 1:04 PM > To: rpg400-l@midrange.com > Subject: Help a pointer Newbie out... > > I searched the archives and the FAQ for information on using pointers to > linked lists > and I did not find anything useful to ME... > that having been said can some one give me an example of using pointers > for > linked lists > I have the classic list problem I know what type of data I need but i > don't > know how much. > I could write the data out to a file in QTEMP and just process the file > but > I did not want to do > that unless I can't wrap my brain around this pointer thing in a > reasonable > amount of time. > > I want to be able to store this information in a list and then reprocess > the list how would I > do this with pointers... > D LDADS DS > D CusKeyErr 14 28 > D RefErr 29 38 > D MsgCode 39 45 > D ErrElmAry 46 93 > D ErrMsgAry 94 261 > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > 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 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.