|
FYI... QCMDEXC isn't necessary. INCCHAR is the only parm that can change.
All he needs to do is prompt for the value he wants and pass it to a CLP.
Then he can do whatever it is he needs to do with that value.
Michael Schutte
Work 614-492-7419
email michael_schutte@xxxxxxxxxxxx
Simon Coulter
<shc@xxxxxxxxxxxx
om.au> To
Sent by: Midrange Systems Technical
midrange-l-bounce Discussion
s@xxxxxxxxxxxx <midrange-l@xxxxxxxxxxxx>
cc
03/09/2006 08:15 Subject
PM Re: CPYF CLP Question
Please respond to
Midrange Systems
Technical
Discussion
<midrange-l@midra
nge.com>
On 10/03/2006, at 8:29 AM, fbocch2595@xxxxxxx wrote:
>
> CPYF FROMFILE(fromlib/file1) TOFILE(tolib/file1) MBROPT(*REPLACE)
> INCCHAR(*RCD 1 *EQ 'CC01')
>
> The item in red is the only thing that will change. I want a command
> to prompt and allow a change to just the part of INCCHAR which
> contains the VALUE.
You can't do this. It is not possible to prompt part of an element
list. You can only prompt for complete parameters.
You'll need to request the VALUE some other way (e.g., DSPF) and feed
that into CPYF using concatenation. You'll then have to run the command
via QCMDEXC (or equivalent API).
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software AS/400 Technical Specialists
http://www.flybynight.com.au/
Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\
Fax: +61 3 9419 0175 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
--
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.