Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to get current date -1 and current time -1 in my output

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

New User


Joined: 07 Jun 2013
Posts: 11
Location: USA

PostPosted: Wed Mar 08, 2017 2:09 pm    Post subject: How to get current date -1 and current time -1 in my output
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Mar 08, 2017 3:10 pm    Post subject: Reply to: How to get current date -1 and current time -1 in my output
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: 11
Location: USA

PostPosted: Wed Mar 08, 2017 5:40 pm    Post subject: Reply to: How to get current date -1 and current time -1 in my output
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: 2285
Location: @my desk

PostPosted: Wed Mar 08, 2017 7:30 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Comparing 2 Files using Current time arunsoods DFSORT/ICETOOL 3 Fri Sep 22, 2017 6:00 pm
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Validate the Date girishb2 DFSORT/ICETOOL 9 Tue Sep 19, 2017 1:12 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us