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: 7314

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 Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm

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