Yup...
Here it is.
:showclock
SYSTEM TIME: MON, MAR 26, 2007, 4:23:37 PM
CURRENT TIME CORRECTION: 0 SECONDS
TIME ZONE: 7 HOURS 0 MINUTES WESTERN HEMISPHERE
Ernie
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Donna Hofmeister
Sent: Monday, March 26, 2007 4:21 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] Weird clock happenings
is SHOWCLOCK correct? - d
----
Donna Hofmeister, HP-CSA Sr. System Programmer dgarverick -at- longs
-dot- com
925-210-6631 Longs Drug Stores
>>>MY opinions, not Longs Drug Stores'<<<
----- Original Message ----
From: "Newton, Ernie" <[log in to unmask]>
To: [log in to unmask]
Sent: Monday, March 26, 2007 12:44:48 PM
Subject: [HP3000-L] Weird clock happenings
Greetings,
I'm running a COBOL program that prompts for a date in MMDDYY format.
This program is running inside a scheduled job, so we're using MPEX to
supply the date. The date prompt is answered with
this...{CDATE(DATEADD(TODAY,0,0,1),'MMDDYY')}...
But the date returned is "tomorrow".
I streamed that job this morning, 3/26/07, and the returned date was
032707.
When I run SHOWCLKS.PUBXL.TELESUP, this is what I see...
*************************************************************
*** Greenwich Mean Time : MON, MAR 26, 2007, 7:17 PM
*** GMT/MPE offset : -7:00:00
*** MPE System Time : MON, MAR 26, 2007, 12:17 PM
*************************************************************
**** C Library Information ****
Current value of Time Zone(TZ) variable : PST8PDT
CTIME function return : Mon Mar 26 12:17:22 2007
I can run the application with TODAY-1, but I'd also like to figure out
what's going on.
Any ideas?
Thanks,
Ernie
The Yolo County Office of Education has scanned this message for viruses
and dangerous content
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
________________________________________________________________________
____________
Now that's room service! Choose from over 150,000 hotels in 45,000
destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
The Yolo County Office of Education has scanned this message for viruses
and dangerous content
The Yolo County Office of Education has scanned this message for viruses and dangerous content
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|