On Tue, Aug 15, 2017 at 10:26 AM, Paul Gilmartin <
[email protected]> wrote:
> On Tue, 15 Aug 2017 08:32:34 +0300, venkat kulkarni wrote:
> >
> >OSHELL
> > {
> > echo '!rm -r /u/venkat/test_01.txt' ; +
> > echo '!rm -r /u/venkat/test_01.txt' ; }
> >
> >Please suggest, if any changes in this JCL is required to make this full
> >process work.
> >
> Or, the alternative (untested):
>
> //STEP EXEC PGM=BPXBATCH, PARMDD=CMDS
> //STDOUT DD SYSOUT=(,)
> //STDERR DD SYSOUT=(,)
> //PARMDD DD *
> set -x;
> cp "//'IBM06.DATA.TEST1''" /u/venkat/test_01.txt;
> cp "//'IBM06.DATA.TEST2''" /u/venkat/test_02.txt;
> rm -r /u/venkat/test_01.txt' ;
> rm -r /u/venkat/test_02.txt' ;
> //
>
> -- gil
>
>
​Personally, I prefer your method for "UNIX only" work. But the IKJEFT01
method may be "better" if one is doing other TSO work in the same input
stream.​
--
If you look around the poker table & don't see an obvious sucker, it's you.
Maranatha! <><
John McKown
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN