× 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: RE: menu-screen compile, object in use
  • From: "Mark Allen" <mark.allen@xxxxxxxxxxxxxxxx>
  • Date: Tue, 3 Apr 2001 14:02:35 -0500

I had the same issue for our attention key program (contains a menu of
custom reports/inquiries of canned package database).  What I did was create
a physical file with 4 fields

Category        (i.e. Orders, inventory)
Description     (i.e. Print On Hand Inventory, Find a Consultants Orders, etc.)
Command (i.e. 10 character field (CALL, RUNQRY, etc.)
Command to Run  (i.e. CALL PRTINVOH, RUNQRY QRY(FNDCONORD) RCDSLT(*YES)

The attention key program is an RPG program which reads this file, displays
in a subfile, and has an option field for them to select which option they
wish to run.

The attention key program then does a QCMDEXC using the data from the
Command to Run field.

Any time I need a change all I have to do is change the file!!!

-----Original Message-----
From: owner-midrange-l@midrange.com
[mailto:owner-midrange-l@midrange.com]On Behalf Of Jim Langston
Sent: Tuesday, April 03, 2001 1:10 PM
To: MIDRANGE-L@midrange.com
Subject: Re: menu-screen compile, object in use


Yes, if this is the "home" menu for a user, they have a lock on the
file.  When I need to recompile these menus I will do a
WRKOBJLCK MYMENU *FILE
and see who has the file locked.  Then I'll call them up and ask them
to back out of the menu, or if it is their main menu, to log off for
a quick time to recompile the menu.  Once everyone is out, I recompile
the menu which takes all of 10 seconds or so.

Then I have to call them back to tell them they can log back in.

It is a pain.  If there is a work around (which I doubt) I would be
interested in knowing about it also.

Regards,

Jim Langston

Date: Tue, 03 Apr 2001 11:53:28 -0700
From: Schmuel <schmuel@bigfoot.com>
Subject: menu-screen compile, object in use

Hi Midrange,

First, an appreciation for a fine list.....
And thanks for the answers for my first questions on history loggin, PDM,
and such..
   (from a Sys/36 comparison level mainly)

Ok.. I was trying to simply compile a menu ...dds-400 type ..using 400 sda
... and it said the object was in use, not replaceable at the moment, even
     after I *thought*  everybody was out of the menu ...
(Yes, I did look at the "D U" equivalent...)

Is the object still in use because it is the "home" menu of a user,
   even if  they go to another menu ?
Or is there a way to get around this object replacement block
   thing that I don't know about ?
Seems be a screen block replacement function, (including any prompt
screens),
   not a RPG program issue ...

Thanks ..

Steven
+---
| 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 thread ...

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.