|
On Tue, Jun 3, 2008 at 12:18 PM, Wilt, Charles 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
--
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 mailing list archive is Copyright 1997-2025 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.