You know, Dave,
Assuming that what you're saying is true (ACCEPT DATE comes off the live
local clock at the moment it is executed), then there's only one logical
explanation left:
Someone (something within the program) messes with the date value between
execution of ACCEPT DATE and the MOVE of the datevalue to the
Report-Page-Header.

I'm totally puzzled.
Regards,
Ulrich Krueger

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Dave Kopischke
Sent: Friday, August 24, 2007 10:57 AM
To: [email protected]
Subject: Re: Source of COBOL ACCEPT DATE


It is my experience that it is local time and it is fetched at the time the 
ACCEPT is executed. It's been a few years, but we have a program that 
displays record counts and times as it processes. This is accomplished by 
ACCEPTs (one for TIME and one for DATE as I recall) and a DISPLAY.

But I also don't understand how the date can be a day off from the time.
Once 
the local clock hits midnight, the date should roll. The OP states that is
not 
what is being observed, so maybe I don't understand how clocks work 
anymore.

Maybe the ACCEPT for date was before midnight and the ACCEPT for time was 
after midnight ???

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