|
Bingo thanks to you & Rob .... Thanks, Tommy Holden -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott A Schollenberger Sent: Monday, August 14, 2006 3:42 PM To: Midrange Systems Technical Discussion Subject: Re: Help defining a command... Look at the DEP command definition keyword: DEP CTL(*ALWAYS) PARM((&PBATCH *NE &CBATCH)) + MSGID(BAD0023) It will issue an error mesage if the condition is not true, but the DEP check can also be conditioned using the CTL parameter. ---------------------- Scott A. Schollenberger Director, Research & Development Harris Computer Systems School division 2011 Renaissance Blvd., Suite 100 King of Prussia, PA 19406 Phone: 610-239-9988 Ext. 305 Fax: 610-239-9995 E-mail: saschollenberger@xxxxxxxxxxxx Web: www.tenexsys.com IBM Certified Specialist - eServer i5 iSeries Technical Solutions Implementer V5R3 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and contains confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. "Holden Tommy" <Tommy.Holden@hca healthcare.com> To Sent by: <midrange-l@xxxxxxxxxxxx> midrange-l-bounce cc s@xxxxxxxxxxxx Subject Help defining a command... 08/14/2006 04:31 PM Please respond to Midrange Systems Technical Discussion <midrange-l@midra nge.com> I have a command I'm creating that has 2 parameters defined as: PARM KWD(OUTPUT) TYPE(*CHAR) LEN(5) RSTD(*YES) DFT(*XML) + VALUES(*XML *FILE) PROMPT('Output Method') PARM KWD(PATH) TYPE(*CHAR) LEN(350) DFT(*NONE) SPCVAL((*NONE + ' ')) PMTCTL(IFS) KEYPARM(*NO) PROMPT('IFS + Path For XML Output') IFS: PMTCTL CTL(OUTPUT) COND((*EQ *XML)) NBRTRUE(*ALL) What I would like to do is condition the PATH keyword to require an entry other than *NONE when the OUTPUT keyword is *XML I realize that it's probably something simple but hey it's Monday... Thanks, Tommy Holden -- 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.