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



'T is been awhile.

But you cannot have 2 prompt controls on a PARM, IIRC.  Can you show the PARM on which those PMTCTL should work? Or have you forgiiten to fill that key word?

So, if the compile works, then the second one will be ignored.

Kind regards,

Carel Teijgeler


Op 11-4-2018 om 20:38 schreef dlclark@xxxxxxxxxxxxxxxx:
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 04/10/2018
04:17:28 PM:
I'm having trouble with the prompt control for a command I am
writing. I have a second and third parameter that I alternately don't
want prompted depending upon the first parameter's value. It works fine
if I actually put a value in the first parameter. But if I leave the
parameter blank, prompt control shows both the second and third
parameters when it should only show the second. These are the prompt
control definitions I have. It seems to me that these cannot both be
true at the same time. Any help?

NOBODY: PMTCTL CTL(MSGID) COND((*NE '*LAST') (*EQ ' ')) +
NBRTRUE(*GT 0) LGLREL(*OR)

LASTHDR: PMTCTL CTL(MSGID) COND((*EQ '*LAST')) NBRTRUE(*EQ 1)

No one is familiar with creating command prompt controls?


Sincerely,

Dave Clark


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.