Announcement
Collapse
No announcement yet.
CPY a stream file
Collapse
X
-
Another option, since the default for TODIR ('.') is current directory, is to use CHGCURDIR to change your current directory to the source directory.
Then you would just need to specify the new object name on the TOOBJ parameter.
Cheers,
Emmanuel
Leave a comment:
-
You use only the first and third parameters - leave the second one at the default. i.e. use OBJ and TOOBJ - you need the full qualified name in both cases.
At least that is the way I get it to work. I am forever forgetting and creating copies in the root! There's probably some unixy magic incantation to avoid the full path but ...
OBJ('/home/jon/lab03/oldfile')
TOOBJ('/home/jon/lab03/newfile')
Leave a comment:
-
CPY a stream file
I have tried with no success to use option 3=Copy on the Work with Object Links screen to copy a file to the same directory with a different name. How can I do such a copy?Tags: None
Leave a comment: