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
 

 

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 How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 2 Wed Mar 22, 2017 11:39 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts Convert current to hex value gopurs DFSORT/ICETOOL 4 Wed Feb 15, 2017 5:40 am


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