CPY OBJ('/QSYS.LIB/ROBDELME.LIB/DELETEME.FILE/*') 
TODIR('/QFileSvr.400/GDIHQ/QSYS.LIB/ROBDELME.LIB/DELETEME.FILE')    
Object not found.  Object is 
  /QFileSvr.400/GDIHQ/QSYS.LIB/ROBDELME.LIB/DELETEME.FILE/DELETEME.MBR. 
0 objects copied.  1 objects failed. 

So I created the file on the remote system and tried
CPY OBJ('/QSYS.LIB/ROBDELME.LIB/DELETEME.FILE/*') TODIR('/QFileSvr.400/GD
IHQ/QSYS.LIB/ROBDELME.LIB/DELETEME.FILE') 
Object already exists.  Object is 
  /QFileSvr.400/GDIHQ/QSYS.LIB/ROBDELME.LIB/DELETEME.FILE/DELETEME.MBR. 
0 objects copied.  1 objects failed. 

Then I ran
rmvm robdelme/deleteme *all
on the remote system.  Now it works.
CPY OBJ('/QSYS.LIB/ROBDELME.LIB/DELETEME.FILE/*') 
TODIR('/QFileSvr.400/GDIHQ/QSYS.LIB/ROBDELME.LIB/DELETEME.FILE')    
Object copied. 
1 objects copied.  0 objects failed. 

If you create the file, with no members, then it will work.
 

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.