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
 

 

Julian date to Gregarian date using DFSORT

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

New User


Joined: 29 Jun 2006
Posts: 25

PostPosted: Tue Oct 15, 2013 6:12 pm    Post subject: Julian date to Gregarian date using DFSORT
Reply with quote

Please can any one suggest me how to convert the Julian date-YYDDD format to regular date format in DFSORT. The Julian date is in Decimal.


Ex:
Input :
09185

Output:
7/4/2009
Back to top
View user's profile Send private message

mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 270
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Tue Oct 15, 2013 6:50 pm    Post subject:
Reply with quote

Quote:
The Julian date is in Decimal

What do you mean by Decimal. Is it in PD format??
Back to top
View user's profile Send private message
mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 270
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Tue Oct 15, 2013 7:07 pm    Post subject:
Reply with quote

check this post by Frank Yaeger.

This converts a Julian date into Gergorain format in both the formats: PD as well as CH. You can modify it as per your needs.

Or may be if you can post the DFSORT level you have(SYSOUT from your SORT job), someone here can suggest a more efficient way of doing it.
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 TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts How to get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm


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