IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DATE function...


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
new2cobol

New User


Joined: 04 Jan 2006
Posts: 77
Location: Bangalore

PostPosted: Wed Feb 22, 2006 12:30 am
Reply with quote

Need a clarification...
I need a date (say, 12/01/2005) to be converted into Julian.

DATE('S','12/01/05','U') gives me standard date

DATE('E','12/01/05','U') gives me European format, so I tried

DATE('J','12/01/05','U') but it did not work!!! I changed the input format and checked with 'S', 'E' but still didn't work...

What am I doing wrong here?

I think I had tried this in another shop and it worked...
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Feb 22, 2006 1:02 am
Reply with quote

Take a close look at the note concerning the use of the Julian format in the manual.

Basically, you must use

DATE('D','12/01/05','U') and then concatenate the desired value for the year.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Calling an Open C library function in... CICS 1
No new posts DATE2 function SYNCSORT 15
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
Search our Forums:

Back to Top