Chris Bipes and Michael Ryan have got the correct answer
It seems that the cobwebs in my mind are thicker than I thought



Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill



Alan Shore
<AlanShore@xxxxxx
om> To
Sent by: Midrange Systems Technical
midrange-l-bounce Discussion
s@xxxxxxxxxxxx <midrange-l@xxxxxxxxxxxx>
cc
midrange-l@xxxxxxxxxxxx,
12/04/2009 10:42 midrange-l-bounces@xxxxxxxxxxxx
AM Subject
Re: I series command in menu
without parameters
Please respond to
Midrange Systems
Technical
Discussion
<midrange-l@midra
nge.com>







Its been a while since I did this, but if you create the menu with ? in the
parameters that you want prompting
for example
DSPPGM PGM(?)

or something like that
it should work



Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill



dale janus
<dalejanus@specia
ltypipe.com> To
Sent by: midrange-l@xxxxxxxxxxxx
midrange-l-bounce cc
s@xxxxxxxxxxxx
Subject
I series command in menu without
12/04/2009 10:34 parameters
AM


Please respond to
Midrange Systems
Technical
Discussion
<midrange-l@midra
nge.com>






I have set up some menus for little used command that I forget about but
come in handy. Commands like DSPPGM, DSPPGMREF, CHGCMDDFT AND WRKRPYLE.
(That way I don't have to think, "Hmm, is there a command for that? F4,
show commands, Do I want by name? by subject?")


From the command line, if these are entered with no parameters, the
prompt screen appears. But if called from a menu, I get a CPD0071
error, "a required parameter was not specified".
WRKRPYLE works from the menu, the others do not.

What is the magic of the command line that allows parameters to be
prompted by pressing the enter key, but fails if called from a menu? Is
there a way around it?


---Dale

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

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

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.