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 

Sysdate-4

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


Joined: 25 Mar 2003
Posts: 12
Topics: 8

PostPosted: Fri Feb 10, 2012 7:03 pm    Post subject: Sysdate-4 Reply with quote

Hi,
I would like to do a Sysdate - 4 in easytrieve but somehow this is not working in Easytrieve and Manual also no mention about Date computation.

Can someone provide some input on how this can be done in Easytrieve?

Thanks Ranjit
_________________
Regards
Ranjit S Panda
Software Engineer
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Feb 10, 2012 7:13 pm    Post subject: Reply with quote

ranjit2705,

DFSORT has many date arithmetic functions that you can use. With PTF UK90025 for z/OS DFSORT V1R10 and PTF UK90026 for z/OS DFSORT V1R12(Oct, 2010), DFSORT now supports date arithmetic which can add/subtract days, months or years to a given date as well calculate the number of days difference between two dates. If the easytrieve program logic isn't that complicated then you can probably do it with DFSORT. Let me know if you are interested.

IIRC You need macro "DATECALC" macro to perform date arithmetic in easytrieve which is I think is a part of add on toolkit.


Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Sun Feb 26, 2012 10:12 pm    Post subject: Reply with quote

Suggest you ask the people who install/support Easytrieve which macros are available for your use.
_________________
All the best,

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