cp /service1/ABC*  /service2/testdir/


On 08/13/13 14:21, Fred Kaptein wrote:
Hello,

I am looking for a JCL sample to copy many unix files from one directory in a 
ZFS file to a
unix directory in another ZFS file.

Example:
The data set  FILE1.ZFS  is mounted on  /service1
There are many unix files in this directory.  I am only interested in copying 
the files beginning with ABC*
There are many of these.

The data set  FILE2.ZFS  is mounted on  /service2/testdir/
I want to copy all the files beginning with ABC* from /service1 to 
/service2/testdir
I do not want to copy files that do not begin with ABC*

Any assistance would be appreciated.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN




--
Mark Jacobs
Time Customer Service
Tampa, FL
----

The quiet ones are the ones that change the universe...
The loud ones only take the credit.

Londo Mollari - Babylon 5

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to