|
Since the string has a space in it, the command prompter is putting it
in quotes to pass it as it is...I think.
> -------- Original Message --------
> Subject: RE: FORCE Uppercase parameters in a command
> From: "Peter Vidal" <Peter_Vidal@xxxxxxxx>
> Date: Thu, January 13, 2005 2:28 pm
> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
>
> " Are you sure there aren't two versions of the command floating around?"
>
> No, there is just one. Let me explain what I am doing:
>
> I have this on the command:
>
> PARM KWD(TASK) TYPE(*CHAR) LEN(10) MIN(1) +
> CHOICE('Task Id, *ALL') PROMPT('Task ID +
> or *ALL')
> PARM KWD(SUBTASK) TYPE(*CHAR) LEN(10) MIN(1) +
> CHOICE('SubTask Id, *ALL') +
> PROMPT('SubTask ID or *ALL')
>
> I call the command and enter the following values:
>
> Task ID or *ALL . . . . . . . . am6 sec Task Id, *ALL
> SubTask ID or *ALL . . . . . . . 07 SubTask Id, *ALL
>
> But on the CLLE I have appears as:
>
> 10 START: PGM PARM(&TASK &SUBTASK)
> 11
> 12 DCL VAR(&TASK) TYPE(*CHAR) LEN(10)
> 13 DCL VAR(&SUBTASK) TYPE(*CHAR) LEN(10)
> 14
> 15 DLTF FILE(QTEMP/MAPSECBLD)
>
> Debug . . .
>
> F3=End program F6=Add/Clear breakpoint F10=Step F11=Display
> F12=Resume F17=Watch variable F18=Work with watch F24=M
> &TASK = 'am6 sec '
>
> It should be 'AM6 SEC ' instead but is not happening...
>
> :o(
>
> Peter Vidal
> PALL CORPORATION
> SR Programmer Analyst / IT Development Group
> 10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111
> http://www.pall.com
>
> "Knowledge is power." -- Francis Bacon (1561 - 1626)
> --
> 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.