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


  • Subject: INFDS
  • From: "David Prowak" <prowakd@xxxxxxx>
  • Date: Wed, 17 Jun 1998 13:45:28 -0400

Hi,
I have a data structure that I use to map the pertinent fields from the
INFDS
when I use a WORKSTATION file.  I have the AID byte defined as KEY.
I also have the hex values of the function keys defined so that I can write
        DOU     KEY = EXIT
or              
        IF      KEY = PAGEDOWN
etc...
I have a subfile, MST_SFL, which displays master records for selection.
Before I EXFMT MST_CTLSFL, I WRITE CMD_KEYS, where CMD_KEYS
are the command keys that are functional for this specific subfile.

Well, after the user selects a master rec, I use DTL_SFL to display
detail recs.  With DTL_SFL, I WRITE CMD_KEYS2, offering some
additional command keys.  When a user exits from DTL_SFL, 
KEY = EXIT (the AID byte = X'33').  I set KEY = '  '.
I then go back to the master subfile, and 1st I write CMD_KEYS,
Well, after the WRITE CMD_KEYS, 
the AID byte is once again = X'33'.  So my application ends, as if the
user hit EXIT within both subfiles.  It seems like the AID byte in the
file's buffer (or wherever INFDS is maintained), keeps its last value.
How can I get around this, so that writing the CMD_KEYS doesn't
cause my application to end prematurely?

TIA
Dave





        
  

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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-Ups:

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.