Okay.. thanks.

-----Original Message-----
From: Vern Hamberg [mailto:vhamberg@centerfieldtechnology.com]
Sent: Friday, February 14, 2003 1:11 PM
To: Midrange Systems Technical Discussion
Subject: RE: Dynamic part on a standard menu


I suspect you'd need to use a *PGM type menu to do what you wnat. The 
DDSMNU uses a DSPF, but ours is not the program that's showing the DSPF.

This seems similar to an internationalization problem. Those are often 
handled with MSGFs. I just saw that you can put a MSGCON into a menu - 
+M(n) for the length - you get prompted for the MSGID and MSGF. But this is 
bound to the menu DSPF at creation. To be bound at runtime requires the 
MSGID keyword in a DSPF, and that is not possible in a menu, for some 
reason. You'd need to create sets of objects in separate libraries, I think.

I just tried using a MSGF in a UIM menu. It is bound when created, so it's 
like DDS menus

With a PGM type, you could use MSGIDs in the DSPF and have the text change 
according to what you library list is. This is the only menu that lets you 
use one pair of program-dspf objects, with different msgfs in different 
libraries. So this is the only one that's dynamic. But this is also the 
type that can have different options, depending on user, etc.

BTW, all menus are activated with the GO command, whatever the type.

HTH

Vern

At 05:21 PM 2/13/2003 -0600, you wrote:
>It is just a plain old MNUDDS menu. I use GO MYMENU to go there.
>
>-----Original Message-----
>From: Vern Hamberg [mailto:vhamberg@centerfieldtechnology.com]
>Sent: Thursday, February 13, 2003 4:14 PM
>To: Midrange Systems Technical Discussion
>Subject: Re: Dynamic part on a standard menu
>
>
>Mike, what kind of menu are you using, UIM, DSPF, or PGM? If UIM, there is
>a remote chance you could have a VAR tag and use that in various display
>strings, and use QUIPUTV to set the value.
>
>Another possibility is to use messages files that have the same ID but
>different text, then OVRMSGF before showing the menu. Have never done these
>things - speculation on my part.
>
>HTH
>
>Vern
>
>At 03:33 PM 2/13/2003 -0600, you wrote:
> >On menus can you have a variable that can be filled by a CL? I want to
use
> >the same menu for each environment (dev, test, live) but when I am
looking
> >at the menu I know which env I am in. Any ideas?
> >
> >Mike Wills
> >iSeries Programmer
> >Taylor Corporation
> >mnwills@taylorcorp.com
> >(507) 386-3187
> >Fax: (507) 625-3002


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

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.