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
 
Convert Gregorian date to Julian format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
krithikaj

New User


Joined: 10 Aug 2008
Posts: 45
Location: India

PostPosted: Tue Sep 28, 2010 11:56 am    Post subject: Convert Gregorian date to Julian format
Reply with quote

Hi

Can someone help me with sort card that can convert Gregorian date (yyyymmdd) to Julian format using SYNCSORT

Thanks
K J
Back to top
View user's profile Send private message

steve6

New User


Joined: 10 Jul 2007
Posts: 7
Location: Chennai

PostPosted: Tue Sep 28, 2010 1:16 pm    Post subject:
Reply with quote

Hi,

See if the following link helps.

http://ibmmainframeforum.com/viewtopic.php?f=61&t=2899#p11385
Back to top
View user's profile Send private message
krithikaj

New User


Joined: 10 Aug 2008
Posts: 45
Location: India

PostPosted: Tue Sep 28, 2010 2:04 pm    Post subject: Reply to: Convert Gregorian date to Julian format
Reply with quote

Thanks Steve, but is that the only way of doing this; meaning big sort card.

Thanks
K J
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 28, 2010 2:06 pm    Post subject:
Reply with quote

SAS and REXX have good date handling capabilies.
Back to top
View user's profile Send private message
krithikaj

New User


Joined: 10 Aug 2008
Posts: 45
Location: India

PostPosted: Tue Sep 28, 2010 2:08 pm    Post subject: Reply to: Convert Gregorian date to Julian format
Reply with quote

But i need to get this job done using SORT.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 28, 2010 2:09 pm    Post subject:
Reply with quote

Looks like you'll have to use a big sort card then icon_rolleyes.gif
Back to top
View user's profile Send private message
prahalad

New User


Joined: 14 Sep 2010
Posts: 18
Location: Pune

PostPosted: Wed Sep 29, 2010 5:48 pm    Post subject:
Reply with quote

Here is the simple sort card to convert Gregorian date (yyyymmdd) to Julian format(YYYYDDD).

Code:

OPTION COPY
INREC BUILD=(1,8,Y4T,TOJUL=Y4T)


Please let me know if you want in any other format.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Sep 29, 2010 8:08 pm    Post subject:
Reply with quote

Hello,

Please post where Y4T is documented for Syncsort.
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 -> JCL & VSAM 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 11 Fri Sep 22, 2017 11:35 pm
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Validate the Date girishb2 DFSORT/ICETOOL 9 Tue Sep 19, 2017 1:12 am
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm

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