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



Dave Pate wrote on 07/25/2005 12:38:18 PM:

> I was surprised to learn that you cannot copy the 3 menu objects that
make
> up a menu from one library to another and get the same results that you
> would get if you compiled the source in the destination library.  You can
> copy COBOL or CL members and that works fine but when you copy menu
objects
> at least one of the menu objects is still pointing to the original
library
> to find the other menu objects.
>  (the original objects are used in the original library even though that
> library is not on the user's library list !)
>
>
> Why would a machine level object have a hard-coded reference to a library
> instead of the using the library list to find the object ?

You do not say the type of menu, but if it was created with the CRTMNU
command then whoever created the menu may have specified a library name on
the DSPF, MSGF, or PGM parameters. These parameters default to *LIBL. It is
probably more likely that the Current Library (CURLIB) or Product Library
(PRDLIB) parameters of the menu have been set to reference the original
library of the menu. The current and product libraries are added to the
library list when the menu is used. This could cause it to use objects in
the original library.

Ed Fishel,
edfishel@xxxxxxxxxx


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.