View previous topic :: View next topic
|
Author |
Message |
krithikaj
New User
Joined: 10 Aug 2008 Posts: 45 Location: India
|
|
|
|
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 |
|
|
steve6
New User
Joined: 10 Jul 2007 Posts: 7 Location: Chennai
|
|
Back to top |
|
|
krithikaj
New User
Joined: 10 Aug 2008 Posts: 45 Location: India
|
|
|
|
Thanks Steve, but is that the only way of doing this; meaning big sort card.
Thanks
K J |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
SAS and REXX have good date handling capabilies. |
|
Back to top |
|
|
krithikaj
New User
Joined: 10 Aug 2008 Posts: 45 Location: India
|
|
|
|
But i need to get this job done using SORT. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Looks like you'll have to use a big sort card then |
|
Back to top |
|
|
prahalad
New User
Joined: 14 Sep 2010 Posts: 18 Location: Pune
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please post where Y4T is documented for Syncsort. |
|
Back to top |
|
|
|