Gil,

Will this still work if the file does not exist when the IEFBR14 step is run?

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: Tuesday, August 15, 2017 11:08 AM
To: [email protected]
Subject: Re: OMVS Command in JCL

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.
> 
I'd suggest as an easier alternative:
    //STEP  EXEC  PGM=IEFB14
    //FILE   DD   PATHOPTS=ORDWR,PATHDISP=DELETE,
    //  PATH='/u/venkat/test_01.txt'

-- 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

Reply via email to