IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get current date -1 and current time -1 in my output


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
murali.andaluri

New User


Joined: 07 Jun 2013
Posts: 16
Location: USA

PostPosted: Wed Mar 08, 2017 2:09 pm
Reply with quote

Hi,

I have a requirement where I need to create a output file with 2 records.

Using DFSORT right now we are creating current date and current time in our output files, but our requirement changed to current date -1 and current time -1. Can any one help us? its urgent!!!
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Wed Mar 08, 2017 3:10 pm
Reply with quote

The urgentest way to do it is to look at the date functions in the manual and then work out the implications of subtracting one (one what is unknown) from the time.
Back to top
View user's profile Send private message
murali.andaluri

New User


Joined: 07 Jun 2013
Posts: 16
Location: USA

PostPosted: Wed Mar 08, 2017 5:40 pm
Reply with quote

I was trying since this morning by changing logic to subtract one and googled out for time calculation, but no luck as of now.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Mar 08, 2017 7:30 pm
Reply with quote

I would suggest you post here what you have tried since morning.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Date conversion using SORT SYNCSORT 4
No new posts Modify Several JCLs at the Same Time JCL & VSAM 6
No new posts Date Conversion Y2T to Y2W SYNCSORT 8
No new posts Date format conversion DFSORT/ICETOOL 4
No new posts Hex Value - vb file replace old date ... DFSORT/ICETOOL 14
Search our Forums:

Back to Top