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



Although fixed, there are a couple of items for comment. First, to be accurate, 
the FROMFILE keyword never was necessary -- FROMFILE() is a valid positional 
parameter here. The initial problem was indeed that there was a missing space 
between CPYF and the opening parenthesis.

But further, because you had debug output, you could have copy/pasted from it 
to a command line just to see what happened when you pressed <F4> for the 
command. The missing space would've been obvious first. Once corrected, the 
format of the qualified names should have jumped out.

Debug output can be useful to the system as well as to the developer's eyes.

Tom Liotta

rpg400-l-request@xxxxxxxxxxxx wrote:

>   5. RE:Help with qcmdexc 
>
>Thanks to all who replied. The problem is now fixed. You would think that
>after doing this for almost 15 years, I would have noticed that the
>FROMFILE keyword was missing. I guess that just goes to show that
>sometimes you can't see the error for the code ;).
>Of course, I still would have had the problem with the quotes.
>Thanks again to one and all.
>
>>
>>However, in debug the string looks like this:
>>
>>       ....5...10...15...20...25...30...35...40...45...50...55...60      
>>  1   'CPYF('LIB1      FILE1     ') TOFILE('LIB1      FILE2     ') '     
>>61   'MBROPT(*REPLACE) CRTFILE(*YES) FMTOPT(*NOCHK)               '     
>>121   '                                                            '     

-- 
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertech.com



__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

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.