Re: Coping Unix files

2013-08-14 Thread Shmuel Metz (Seymour J.)
In 7806785360373454.wa.paulgboulderaim@listserv.ua.edu, on 08/13/2013 at 03:47 PM, Paul Gilmartin paulgboul...@aim.com said: I believe SYSPROC, SYSOUT, SYSPRINT, and SYSIN are superfluous. They are in this case. SYSPROC and SYSEXEC are only needed if you invoke command procedures (CLIST,

Coping Unix files

2013-08-13 Thread Fred Kaptein
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

Re: Coping Unix files

2013-08-13 Thread Mark Jacobs
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

Re: Coping Unix files

2013-08-13 Thread Don Poitras
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

Re: Coping Unix files

2013-08-13 Thread Grinsell, Don
[mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Fred Kaptein Sent: Tuesday, August 13, 2013 12:21 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Coping Unix files 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

Re: Coping Unix files

2013-08-13 Thread Fred Kaptein
Works Great! Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Coping Unix files

2013-08-13 Thread Paul Gilmartin
On Tue, 13 Aug 2013 14:45:40 -0400, Don Poitras wrote: 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

Re: Coping Unix files

2013-08-13 Thread Mark Zelden
You might want: oshell cp -p /service1/ABC* /service2/testdir/ ... the -p to preserve permissions and timestamps. What are the respective advantages of OSHELL and BPXBATCH? There could be other attributes / flags on too. I usually use PAX but for others, I s tell them to use copytree

Re: Coping Unix files

2013-08-13 Thread Paul Gilmartin
On Tue, 13 Aug 2013 20:08:40 -0500, Mark Zelden wrote: You might want: oshell cp -p /service1/ABC* /service2/testdir/ ... the -p to preserve permissions and timestamps. What are the respective advantages of OSHELL and BPXBATCH? There could be other attributes / flags on too. I usually