Unless you have modified IBM's run-time library, the COBOL
    ACCEPT from DATE
        and
    ACCEPT from CONSOLE 

are mutually exclusive (and always have been).  "DATE" is a reserved word in
COBOL so you can't have
    ACCEPT DATE FROM CONSOLE

You *could* have an
    ACCEPT WS-DATE from Console

and then that would work the way you say.

<[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
>  
> In a message dated 8/22/2007 2:46:53 P.M. Central Daylight Time,  
> [EMAIL PROTECTED] writes:
> 
> It  returns the "local" date/time - but what that means depends on how
your
> system is set up.
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to