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



Hi Jon

The following seems to do what you're after.

All the best
Jonathan


CMD PROMPT('Jon Paris Example')

PARM KWD(OUTREQ) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*YES) VALUES(*YES *NO) +
PROMPT('Outfile required')

USEOUTFILE: PMTCTL CTL(OUTREQ) COND((*EQ *YES))

PARM KWD(OUTFILE) TYPE(OUTFILE) +
PMTCTL(USEOUTFILE) PROMPT('Output file')

OUTFILE: QUAL TYPE(*NAME) LEN(10) DFT(*GEN) SPCVAL((*GEN))

QUAL TYPE(*NAME) LEN(10) PROMPT('Library')

QUAL TYPE(*NAME) LEN(10) SPCVAL((*FILE) (*DATE))

QUAL TYPE(*CHAR) LEN(4) RSTD(*YES) DFT(*NO) +
VALUES(*YES *NO) PROMPT('Replace physical +
file')




----------------------------------------------------------------------

message: 1
date: Wed, 22 Apr 2015 11:58:15 -0400
from: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
subject: Re: Command Help

Thanks Brad and Chuck.

I?m familiar with F9 of course but in this instance that produces a big ugly mess.

The issue I am dealing with involves four options - all or none of which can be specified as *YES.

I?m having trouble getting all four to appear. It seems as if the minute it found the first conditioned one it stopped displaying the others. based on Chuck?s notes and Buck?s suggestion for the retrieve tool I should be able to figure it out now.

Thanks to everyone for their help. I sincerely hope it will be another 20+ years before I have to worry about this stuff again - just not a CL/command fan I guess.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com


Proud partner of The Ageas Bowl and the Ageas Salisbury International Arts Festival.

Registered Address: Ageas House, Hampshire Corporate Park, Templars Way, Eastleigh, Hampshire, SO53 3YA Registered Number: 354568 England

Authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority

This e-mail together with any attachments are intended for the addressee only and may be private and confidential. If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, you must not open any attachments, or copy, disclose, distribute, retain or use this e-mail, including any attachments, in any way whatsoever; please return it to us immediately using the reply facility on e-mail.

Consider the environment and think before you print this email.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.