|
So, the example given below doesn't work? -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Tuohy Sent: Monday, December 11, 2006 3:37 PM To: 'RPG programming on the AS400 / iSeries' Subject: RE: Does anyone use indicators anymore? I am almost sure that you cannot specify *IN in a data structure - so you must use the pointer method if you want to overlay a data structure onto the *IN indicators. Regards Paul Tuohy ComCon www.comconadvisor.com -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Turnidge, Dave Sent: 11 December 2006 19:49 To: RPG programming on the AS400 / iSeries Subject: RE: Does anyone use indicators anymore? Aha! Look! No pointer required... OK. Why not? What does the pointer method give you that this does not? -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Cassidy, Alan Sent: Monday, December 11, 2006 1:21 PM To: RPG programming on the AS400 / iSeries Subject: RE: Does anyone use indicators anymore? -----Original Message----- From: James H H Lampert ....That same basic idea could also be used for an indicator used to condition statements or store flags raised by calculations.... ==>Yep... ....I'm not directly familiar with overlaying names on the general indicators. What release did it come in at, and can more than one name be overlaid on an indicator that's used for more than one purpose? ==> Adding to Kurt's example: FDspF CF E WorkStn IndDS( DspfInd ) // Display File Indicator Data Structure. D DspFInd DS D PCFld1 40 40n Inz( *Off ) D IndicatorsDS DS Inz D *IN 1 99n D CompanyNotFound 13 13n D CustNotFound 13 13n D InvoiceNotFound 13 13n D CustReadError 26 26n D Co#ReadError 26 26n or... D Indicators DS Inz D *IN 1 99n D CompanyNotFound n Overlay(Indicators:13) D CustNotFound n Overlay(Indicators:13) D InvoiceNotFound n Overlay(Indicators:13) D CustReadError n Overlay(Indicators:26) D Co#ReadError n Overlay(Indicators:26) --Alan -- 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.
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.