Thanks to all who responded. Mike ________________________________
From: The IBM z/VM Operating System on behalf of Rich Smrcina Sent: Mon 20/09/2010 10:25 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Calculating a date in the future On 09/20/2010 09:18 AM, Horlick, Michael wrote: > Greetings, > > I would like to determine a date in the future through an EXEC. > > Example: We IPL VM every 28 days. Last time was Sept 8,2010. I would like to > determine the date of the next VM IPL. Have the same need for VSE IPL and > CICS re-boot times. > > Thank you, > > Mike Horlick > CGI Montreal > > Use date('B'). Convert the last date to a number with date('B'), add 28, then convert it back with your fave date output function. -- Rich Smrcina Velocity Software, Inc. Mobile: 414-491-6001 Office: 262-392-3717 http://www.velocitysoftware.com <http://www.velocitysoftware.com/> Catch the WAVV! http://www.wavv.org <http://www.wavv.org/> WAVV 2011 - April 15-19, 2011 Colorado Springs, CO