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



On Tue, Jun 3, 2008 at 12:18 PM, Wilt, Charles <WiltC@xxxxxxxxxx> wrote:

I've never had an issue using *DEC, as when you specify the length you can
specify the # of decimal
positions but 0 is assumed.


Yeah, I saw that, but it still allows entry of a non-integer. Weird.

Otherwise, use *UNIT4 and specify RANGE(1 999).


Yeah, that's what I've been looking at using. Is the CL CPP going to see a
4-byte binary value when it processes this parameter?

BTW, here's what I'm trying:
PARM KWD(SAVESET#) TYPE(*DEC) LEN(3 0) RANGE(001 999) +
MIN(1) CHOICE('001-999') PROMPT('SaveSet Number')

And a new wrinkle: Even though I've specified MIN(1), I can prompt / run
the command without entering a value for the parameter. I thought MIN(1)
forced a value. Is there another command definition keyword I'm missing?

Thanks again,
Dan

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.