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 

Adding a day to a valid date

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


Joined: 24 Feb 2004
Posts: 58
Topics: 23

PostPosted: Thu Jul 28, 2005 10:21 am    Post subject: Adding a day to a valid date Reply with quote

Hi
I have a valid date in my cobol-db2 program. The valid date variable(mm/dd/yyyy format) is in a file and I need to add one day to it. Can I use any dummy table/any other table in my program to cast this date by incrementing a day and receive a valid date. The valid date needs to be written into a file.
Say For example :
12/31/2004 + 1 day = 01/01/2005

I'm looking for a DB2 solution since this will be simpler than coding the logic.
Regds
-Ace
_________________
Thank You
-Ace
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jul 28, 2005 10:36 am    Post subject: Reply with quote

ace,

Please search before posting. check these links.

http://www.mvsforums.com/helpboards/viewtopic.php?t=25&highlight=date

http://www.mvsforums.com/helpboards/viewtopic.php?t=3087&highlight=date

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


Joined: 24 Feb 2004
Posts: 58
Topics: 23

PostPosted: Thu Jul 28, 2005 11:12 am    Post subject: Reply with quote

Thanks Kolusu..

Regds
-Ace
_________________
Thank You
-Ace
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database 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