MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

date validation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
victor
Beginner


Joined: 21 Sep 2005
Posts: 14
Topics: 9

PostPosted: Fri May 12, 2006 11:47 am    Post subject: date validation Reply with quote

hi all
i have got a date(x) with me.I need to perform
date(x) = date(x) - 1 DAY
date(x) = date(x) + 1 DAY using cobol.
_________________
VICTOR
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri May 12, 2006 12:04 pm    Post subject: Reply with quote

victor,

Search before posting. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2261

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
victor
Beginner


Joined: 21 Sep 2005
Posts: 14
Topics: 9

PostPosted: Fri May 12, 2006 12:49 pm    Post subject: Reply with quote

Thanks kolusu.
I have the date in format MM/DD/YYYY
i got to do the date backward i.e. if it is 05/11/2006 i have to make it to 04/11/2006.
could u suggest me the logic.
_________________
VICTOR
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri May 12, 2006 12:54 pm    Post subject: Reply with quote

Victor,

*Sigh* Look up Redefine

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group