|
Yes. The second element of the PROMPT parameter for the PARM
cmd-source-command [aka a "command definition statement"] assigns the
Prompt Position [aka the "Order prompt is displayed"]. However, I am
not sure how its use would apply to the scenario in the OP.
I described such a command source recently, with similar effect as
seen on CPYFRMIMPF [when enter is pressed with just the command on the
command line]. Either link below is to the same message; just sourced
differently:
Subject: Slight CMD problem with DFT() keyword using QUAL
https://groups.google.com/d/msg/comp.sys.ibm.as400.misc/7nplfLKJ1vk/6KjmSSofznIJ
http://newsgroups.derkeiler.com/Archive/Comp/comp.sys.ibm.as400.misc/2013-04/msg00003.html
Regards, Chuck
On 12 Apr 2013 22:32, Carel wrote:
The order of a PARM ca be set with the PROMPT parameter, IIRC.
On 13-4-2013 0:10, Vern Hamberg wrote:
OK - the OP could maybe take advantage of setting the order of
parameters in the PROMPT attribute. This setting lets you put
MIN(n) parameters somewhere after the start of the display - they
DO have to be at the start of the source.
I think I just saw this on maybe CPYFRMIMPF - TOFILE is required
and positional 1 - FROMSTMF and FROMFILE are optional and
positional 2 & 3, resp. And they appear on screen ahead of TOFILE,
the required parameter.
On Fri, Apr 12, 2013 at 5:11 PM, Stone, Joel wrote:
I would like to build a command to return sysName and libName.
But, I would like the variables to be optional when using the
command.
<<SNIP>>
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.