OK, I have to ask ... it's been bugging me ... 

There's recently been a thread asking questions about COBOL and 
ACCEPT DATE apparently giving a bad date right after midnight. 

Can someone tell me, where exactly the DATE is taken from when a 
COBOL program executes ACCEPT DATE? 
Is it 
(a) the running system clock, local time, as of the moment ACCEPT 
DATE is executed? 
- or - 
(b) the date in effect at the moment the program (or step) started? 

If it were (b) and the program started just a hair _before_ midnight, 
then that could explain the OP's problem ... 

Thanks. 
Regards, 
Ulrich Krueger

----------------------------------------------------------------------
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