This is what I did and it worked. Thanks //CREATE EXEC PGM=BPXBATCH //STDOUT DD SYSOUT=* //stderr DD SYSOUT=* //* //STDPARM DD * SH diff -r /xxx /xxxx
Thanks again sc -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Wednesday, March 23, 2022 3:15 PM To: [email protected] Subject: Re: Unix Command DIFF On Wed, 23 Mar 2022 15:05:56 -0500, Shelia wrote: >Does anyone know how to use the unix command diff -r in a batch job, if so can >you send me example of the batch job? > Untested: //STEP EXEC PGM=BPXBATCH, // PARM-'SH diff -r <operands>' //STDOUT DD SYSOUT=(,) Or, use IRXJCL with Rex using BPXWUNIIX -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
