Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8
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: 8
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: 2276
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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 3 Sat May 06, 2017 12:59 am
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us