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



Can anyone tell me how to create a menu using the CRTMNU command?  I can
create one using option 17 on PDM:  

STRSDA OPTION(2) SRCFILE(SRCLIB/QDDSSRC) SRCMBR(MenuNm) OBJLIB(QTEMP)
Menu MenuNm saved in SRCLIB/QDDSSRC and compiled in QTEMP.           
Member MenuNm of type MNUDDS created in source file SRCLIB/QDDSSRC.  
Member MenuNmQQ of type MNUCMD created in source file SRCLIB/QDDSSRC.

But if I type in the same thing it shows on its CRTMNU screen from a
CRTMNU command entered from the command line I get the following:

CRTMNU MENU(QTEMP/MenuNm) TYPE(*DSPF) DSPF(*LIBL/MenuNm) MSGF(MenuNm)
CMDLIN(*LONG) DSPKEY(*YES) TEXT('Some Text')

File SFTP in library *LIBL not found.

Problem exists with use of object SFTP type *DSPF in *LIBL.

Object SFTP in library *LIBL not found.

Problem exists with use of object SFTP type *MSGF in *LIBL.

AUT parameter ignored.

Replaced object SFTP type *MENU was added to QRPLOBJ.

Object SFTP type *MENU created in library QTEMP.          

If I create a *DSPF from my SRCLIB/QDDSSRC (MenuNm) and an empty *MSGF I
get a menu, but it has no options.  What do I do with the MenuNmQQ
member?


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.