View previous topic :: View next topic |
Author |
Message |
ranjit2705 Beginner

Joined: 25 Mar 2003 Posts: 12 Topics: 8
|
Posted: Fri Feb 10, 2012 7:03 pm Post subject: Sysdate-4 |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Feb 10, 2012 7:13 pm Post subject: |
|
|
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 |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Sun Feb 26, 2012 10:12 pm Post subject: |
|
|
Suggest you ask the people who install/support Easytrieve which macros are available for your use. _________________ All the best,
di |
|
Back to top |
|
 |
|
|