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 SYSOUT=*
>//SYSOUT DD SYSOUT=*
>//SYSPRINT DD SYSOUT=*
>//SYSIN DD DUMMY
>//
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?
I believe SYSPROC, SYSOUT, SYSPRINT, and SYSIN are superfluous.
I submitted an RCF to IBM on a similar matter (at least the last two
for FTP, IIRC), and they agreed they should be deleted from future
editions of the manual.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN