I don't see the JCL. :)

How about:

//OSHELL   JOB CLASS=A,MSGCLASS=A                                         
//UNIXIVP  EXEC PGM=IKJEFT1B,DYNAMNBR=20                         
//SYSPROC  DD  DISP=SHR,DSN=SYS1.CLIST
//SYSTSIN  DD  DATA,DLM=$$                                       
 oshell cp /service1/ABC* /service2/testdir/                         
$$                                                               
//SYSTSPRT DD SYSOUT=*                                           
//SYSOUT   DD SYSOUT=*                                           
//SYSPRINT DD SYSOUT=*                                           
//SYSIN    DD DUMMY                                              
//                                                               


In article <[email protected]> you wrote:
> 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

-- 
Don Poitras - SAS Development  -  SAS Institute Inc. - SAS Campus Drive
[email protected]           (919) 531-5637                Cary, NC 27513

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

Reply via email to