Hello Frank,

SAY  DATE('D') '          NUMBERS OF DAYS THIS YEAR
SAY  DATE('J') '        JULIAN DATE                

Take the number of days, subtract 90, if less than 1, it has to be next
year.

Does it have to be julian?

DATE('B') '       DATE EXPRESSED AS DAYS SINCE 01/01/0001

DATE('C') '        DATE EXPRESSED AS DAYS SINCE THE LAST YEAR THAT IS
MULTIPLE OF 100

Ed Martin
Aultman Health Foundation
330-363-5050
ext 35050

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[email protected]] On
Behalf Of Frank M. Ramaekers
Sent: Wednesday, July 29, 2009 3:47 PM
To: [email protected]
Subject: REXX DATE - Julian and Centry

I don't understand why there is the following restriction on the Date()
function:

NOTE:

(1)  If the Century or Julian format is specified, then no other options

     are permitted. These two formats are provided for compatibility
with
     programs written for releases prior to VM/ESA(R) version 2 release

     1.1. It is recommended that they not be used for new programs.


There are still some programs/systems that use Julian.  For instance,
EREP requires DATE input in Julian.

Having said that, how can I compute a day 90 days in the past, specified
in Julian (in REXX)?

Frank M. Ramaekers Jr.
Systems Programmer                   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.                Fax:   (254)741-5777
Waco, Texas  76710
        

 



_____________________________________________________

This message contains information which is privileged and confidential
and is solely for the use of the

intended recipient. If you are not the intended recipient, be aware that
any review, disclosure,

copying, distribution, or use of the contents of this message is
strictly prohibited. If you have

received this in error, please destroy it immediately and notify us at
[email protected].

Reply via email to