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



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)


Sincerely,

Dave Clark

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.