The issue was the syntax...the file is listed as Claims050912090900.lwr and I keep forgetting that QSH is case sensitive while it doesn't matter when I use OS400 cmd's MOV or REN.
-----Original Message-----
From: John Yeung <gallium.arsenide@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Wed, May 9, 2012 10:53 am
Subject: Re: QSH mov syntax?
On Wed, May 9, 2012 at 9:43 AM, <fbocch2595@xxxxxxx> wrote:
Hi John, that's not working, is my syntax right? I have
a file called claims1 in that path and /ARCH is empty
and is the archive directory I want to move the file to.
mv /test/APP/test1/claims*.lwr /ARCH
mv: 001-2118 Error found renaming object /test/APP/test1/claims*.lwr to
ARCH/claims*.lwr. No such path or directory.
$
Well, the syntax looks right to me. It works on my machine (V5R2).
t's kind of a long shot, but do you have read permissions on the
ource files (and all upstream directories) and write permissions on
he destination directory?
The error message text suggests either that one of your paths doesn't
xist, or that the wildcard is just not working at all (and is being
nterpreted as a literal character).
If all your permissions are fine and everything that needs to exist
xists, then my only suggestion is to use something else, such as the
OV command in CL (which supports * and ? wildcards, according to the
elp).
John
-
his is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
o post a message email: MIDRANGE-L@xxxxxxxxxxxx
o subscribe, unsubscribe, or change list options,
isit:
http://lists.midrange.com/mailman/listinfo/midrange-l
r email: MIDRANGE-L-request@xxxxxxxxxxxx
efore posting, please take a moment to review the archives
t
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.