Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
DATE function...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
new2cobol

Active User


Joined: 04 Jan 2006
Posts: 70

PostPosted: Wed Feb 22, 2006 12:30 am    Post subject: DATE function...
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
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3318
Location: Charlotte,NC USA

PostPosted: Wed Feb 22, 2006 1:02 am    Post subject: Re: DATE function...
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1