Ah, I was looking only at *UIM-type menus, which do not show this - it is in 
their source, so they'd get created correctly. Also, *PGM-type menus would 
probably have a command line specified in source. So I see that the *DSPF-type 
does show this.

Thanks
Vern
-------------- Original message -------------- 

> Thank you. 
> 
> I just checked DSPMNUA and it does show the CMDLIN/DSPKEY settings. 
> And CHGMNU allows you to change the attributes 
> 
> So a CL could be written that would 
> DPSMNUA and save the attributes into variables 
> STRSDA 
> CHGMNU to change the attributes back to their original values (if menu was 
> recompiled) 
> 
> 
> Another Question: Is there a way to determine the menu that the user 
> entered on the signon screen? 
> 
> Thanks 
> Dave Pate 
> 
> message: 6 
> date: Fri, 18 Mar 2005 22:25:59 -0600 
> from: Vernon Hamberg 
> subject: Re: Recompiling menus: How can CMDLIN and DSPKEY settings be 
> set automatically 
> 
> I was under the impression your time was worth more than this. These 
> attributes are not available with the usual command (DSPMNUA). There is no 
> API to get this information. And these are not specified in the source. 
> When you use SDA to create a menu, although you specify these options 
> there, they are merely passed on to the CRTMNU command, I assume. 
> 
> The only way to do this programmatically is to use a command called DMPOBJ 
> to put the byte-content of the menu into a spooled file - I forget if a 
> user space can be used. Then you'd need to reverse engineer where these 
> attributes are kept. Doable, and maybe even a little fun. 
> 
> But if you are willing to go through the one-time pain - seems you are - 
> and put the appropriate commands in a CL, you're done down the road. 
> 
> 
> -- 
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list 
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx 
> To subscribe, unsubscribe, or change list options, 
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l 
> or email: MIDRANGE-L-request@xxxxxxxxxxxx 
> 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 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.