I ran a test, and it worked fine. I'd suggest your path/file names aren't what you think they are.
Try from a command line:
WRKLNK OBJ('/test/APP/test1/claims*.lwr')
WRKLNK OBJ('/ARCH*')
Or from QSH:
ls -ld /test/APP/test1/claims*.lwr /ARCH
--
Sean Porterfield
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of fbocch2595@xxxxxxx
Sent: Wednesday, May 09, 2012 10:15
To: midrange-l@xxxxxxxxxxxx
Subject: Re: QSH mov syntax?
Thanks John, I know that'll work but I've got other files prefixed by claims but different types and I wanted only the claims*.lwr to move to /ARCH. There's no way...right?
-----Original Message-----
From: Jack Kingsley <iseriesflorida@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Wed, May 9, 2012 9:49 am
Subject: Re: QSH mov syntax?
John, I don't think it likes the wildcard after the claims portion with the , try one without it.
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.
$
mv fix*.lmt newdir
-----Original Message-----
From: John Yeung <gallium.arsenide@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Tue, May 8, 2012 7:24 pm
Subject: Re: QSH mov syntax?
On Tue, May 8, 2012 at 4:27 PM, <fbocch2595@xxxxxxx> wrote:
Hi Folks, I've looked around and can't find the syntax for
moving all files in an IFS dir that's prefixed by the word
fix and ends with .lmt...anyone know the syntax or point
me where I can find it.
Assuming you are in the directory where the files currently are, and ou want to move them to newdir:
mv fix*.lmt newdir
John
-
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.
As an Amazon Associate we earn from qualifying purchases.