|
Thanks, Mel. However, I wanted the list partially filled with values, not with *NONE. I.E., something along the lines of what you see when you prompt a CHGUSRPRF, on the Special authority (SPCAUT) parameter. It is a list that is partially filled. -- Loyd Goodbar Programmer/analyst BorgWarner Incorporated ETS/Water Valley 662-473-5713 lgoodbar@xxxxxxxxxxxxxx -----Original Message----- From: Mel Rothman [mailto:mel@xxxxxxxxxxxxxx] Sent: Friday, October 24, 2003 1:49 PM To: midrange-l@xxxxxxxxxxxx Subject: Re: Command parm default values for a list? Loyd, you need to use the SNGVAL and DFT parameters: PARM KWD(MYPARM) TYPE(*CHAR) LEN(10) DFT(*NONE) + SNGVAL((*NONE)) MAX(10) PROMPT('Numbers') Mel Rothman Mel Rothman, Inc. Goodbar, Loyd (ETS - Water Valley) wrote: > I'm creating a command that allows for a list of values, defined as > MIN(0) MAX(10), and would like the list to contain a default value. > However, I can't get the DFT parameter to work with a list. Is a > prompt override program my only hope here? > > Thanks, > Loyd > > -- > Loyd Goodbar > Programmer/analyst > BorgWarner Incorporated > ETS/Water Valley > 662-473-5713 > lgoodbar@xxxxxxxxxxxxxx > _______________________________________________ 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-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.