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



Once you override the external field name using EXTFLD, that name no longer
exists in the program. 
If you are able to refer to RBFUTUSEA in your code, then you have it defined
elsewhere in the program, probably via a file or another data structure.
In either case, RBFUTUSEA does not exist in the 12DBRC data structure ("at
signs" in names suck, by the way) and therefore moving anything into it, does
not get reflected in FutureUseA or its overlaid subfields.

-Bob Cozzi
www.RPGxTools.com
RPG xTools - Enjoy programming again.


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On
Behalf Of Michael_Schutte@xxxxxxxxxxxx
Sent: Monday, April 24, 2006 3:11 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: EXTFLD Question


D @12DBRC       E DS                  EXTNAME(BEF012)
D  FutureUseA   E                     ExtFld (RBFUTUSEA)
D   ProdPlantYN                  1    OverLay(FutureUseA:1)
D   FutureUseA2                  9    OverLay(FutureUseA:*NEXT)

We have a future use field in a file that we are going to begin to use.  I
only need to use one character of it.  Anyway, I was under the impression
that I can use FutureUseA in the program as it was RBFUTUSEA, so that when
an update was executed the RBFUTUSEA field will be changed to what was in
FutureUseA.  To break up the field, I used the Overlay for ProdPlantYN.

When the program executes, ProdPlantYN is populated to 'Y' and while in
debug mode, FutureUseA = 'Y         ', however, This value doesn't get
updated to RBFUTUSEA.  Am I suppose to move it there?  I thought the
purpose of ExtFld was to rename the field for the program?  Is there
something I'm doing wrong?

NOTE: BEF012 is defined in the FSPEC, but there is NOT a prefix on it.

Thanks in advance.

Michael Schutte


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.