The default for input in "N". That is MIXED case.
 
TEMP=DATE('B','27 May 1996')
 
will work. Note that is "May" and not "MAY". They are not the same!
 
 
--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
  
        -----Original Message-----
        From: The IBM z/VM Operating System
[mailto:[EMAIL PROTECTED] On Behalf Of Edward M. Martin
        Sent: Thursday, October 04, 2007 10:54 AM
        To: [email protected]
        Subject: Simple Rexx question
        
        
        Hello Everyone,
              
              I have been working with REXX but I am not getting this
very simple REXX.
         
              This is TDATE EXEC.
         
        /* REXX TDATE EXEC */              
        TEMP = DATE('B','27 MAY 1996',)    
        SAY TEMP                           
        exit                     
         
        This is the results.
         
        tdate

             2 +++ TEMP = DATE('B','27 MAY 1996',)

        DMSREX475E Error 40 running TDATE EXEC, line 2: Incorrect call
to routine 
        Ready(20040); T=0.01/0.01 11:50:32

         
              What am I doing wrong?  (it has to be simple!)          
         
        Ed Martin
        Aultman Health Foundation
        330-588-4723
        [EMAIL PROTECTED]
        ext. 40441
         

Reply via email to