I need help regarding the piece of code below:

    SUBROUTINE TEST.DATES
    $INSERT I_COMMON
    $INSERT I_EQUATE
    
    CALC.DATE = '20101102'
    DAY.STR = OCONV(CALC.DATE,'DWA')

    PRINT DAY.STR

END

The system returns SUNDAY. I expect this to be TUESDAY because 20101102 is 
Tuesday.

Anybody with idea please.

Williams


      

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to