|
If you leave the CL in the call stack, won't control return to it when the user presses F3 or F12 from the menu? You could at this point restore the original library list in the CL that called the menu. Joe Giusto II Patuxent Publishing Company <mailto:jgiusto@patuxent.com> mailto:JGiusto@patuxent.com http://www.lifegoeson.com <http://lifegoeson.com> -----Original Message----- From: Jeff Crosby [SMTP:jlcrosby@fwi.com] Sent: Thursday, October 29, 1998 7:41 AM To: MIDRANGE-L@midrange.com Subject: Re: GO to a menu within CL program "Fisher, Don" wrote: > > Just out of curiosity, why is removing the CL program from the stack an > issue? > As I give it more thought, it may not be. Here's the scoop. We use Inventory Management of DMAS. It's the only DMAS app we use, so from this point on, when I say "DMAS" think "DMAS Inventory Management". We are upgrading from a 10-year-old version to the current Y2K compliant version. The latest requires 4 libraries to be in the library list (DMASDTA, DMASPGM, DMASMOD, and DMASSVC). The only users that need these libraries are the buyers, and then only while in DMAS. So I don't want them to be in the library list all day long. When someone needs to enter into DMAS, I want them to take a menu option. The menu option is a CL program that adds these libraries to the library list, displays the main DMAS menu, then exits. When the user is finished with DMAS for a while, they will take an option on this main DMAS menu that removes these libraries from the library list, displays their initial sign on menu and exits. If they enter and leave DMAS repeatedly during the day, more and more copies of the CL programs (both the enter and exit ones) will be in the call stack. Another thought I just had (and haven't really thought thru) is to make the DMAS menu a program menu from which they have to press F3 or F12 to exit. Maybe this idea will bear fruit. -- -Jeff jlcrosby@fwi.com +--- | 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 +--- +--- | 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 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.