Saurabh, You need to first answer the question about the date format. Post detailed information on what you're trying to accomplish. Do not make people guess what you mean. This will give you a much better chance of getting a good answer to your question.
As for the latest requirement, Look up PARSE and Build the entire string or use OVERLAY Thanks, Kolusu IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> wrote on 06/12/2018 02:46:02 AM: > From: saurabh khandelwal <sourabhkhandelwal...@gmail.com> > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 06/12/2018 02:47 AM > Subject: Re: REXX to change Date in PDS member > Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> > > Hello Kolusu, > > Thanks for help. This is exactly what I was looking for to code. But I > still have one doubt in this, > > Your code works only when I have empty memeber to update with yesterday's > and today's date . But how this process works, when we updating dates in > JCL like below. > > Ex : In this below DD name, from JCL should be updated with today's date > in OV='D18611' > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN