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



Steve,

Since the difference is between a main loop and a subprocedure, and
files have to be global ---up to and including V5R4--- first thing to
check is to make sure you are not re-defining the AID field name inside
the subprocedure.

--Alan



-----Original Message-----
On Behalf Of Coyle, Stephen F.

Hi All,

I have a display file that displays a subfile list of master
records, on F6 another format displays for the user to add records to
this master file.
The problem occurs after the second format is displayed.
Whatever key is pressed from this format, the AID byte in the INFDS is
blank. Not so for the subfile format however.
The basic flow is a main loop (AID is OK), press F6, main calls
procedure AddRec() (AID is OK), AddRec calls procedure ProcRec() (AID is
blank). Within the ProcRec format do loop, AID is always blank. When
returning to the main loop, AID is again OK.
I tried posting the INFDS after each EXFMT of the display, but
no luck. Is there something I'm missing regarding the INFDS from within
a procedure?

Thanks for any help....
- Steve





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.