Re: Efficient conversion of GMT to/from local time from COBOL?

2008-11-03 Thread J R
spring forward 8 months ago, so no fall back was required. ;-) Date: Thu, 30 Oct 2008 19:06:33 -0400 From: [EMAIL PROTECTED] Subject: Re: Efficient conversion of GMT to/from local time from COBOL? To: IBM-MAIN@BAMA.UA.EDU But, it can/does cause some problems with things like young

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread Chase, John
-Original Message- From: IBM Mainframe Discussion List On Behalf Of J R But, it can/does cause some problems with things like young children going to (or coming from) school in the dark. [ snip ] Standard time gives the kids their best chance of going to school and coming

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread J R
When I was a child in Fairbanks, we went to school in the dark and came home in the dark. Heck, we even ate lunch in the dark! Uphill both ways? Date: Fri, 31 Oct 2008 07:18:44 -0500 From: [EMAIL PROTECTED] Subject: Re: Efficient conversion of GMT to/from local time from COBOL

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread Shane
On Fri, 2008-10-31 at 08:25 -0400, J R wrote: When I was a child in Fairbanks, we went to school in the dark and came home in the dark. Heck, we even ate lunch in the dark! Uphill both ways? Shoebox ... shoebox - did some-one mention a shoebox ???. . . . And you try and tell the young

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread Chase, John
-Original Message- From: IBM Mainframe Discussion List On Behalf Of J R When I was a child in Fairbanks, we went to school in the dark and came home in the dark. Heck, we even ate lunch in the dark! Uphill both ways? Of course! It was COLD, too! -jc-

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread Eric Bielefeld
Alright Shane! What does the shoebox have to do with anything? Eric Shane [EMAIL PROTECTED] wrote: On Fri, 2008-10-31 at 08:25 -0400, J R wrote: When I was a child in Fairbanks, we went to school in the dark and came home in the dark. Heck, we even ate lunch in the dark!

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread J R
It's from a Monty Python skit about how tough things were when I were a boy. Date: Fri, 31 Oct 2008 08:44:11 -0600 From: [EMAIL PROTECTED] Subject: Re: Efficient conversion of GMT to/from local time from COBOL? To: IBM-MAIN@BAMA.UA.EDU Alright Shane! What does the shoebox have to do

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread Paul Gilmartin
On Thu, 30 Oct 2008 10:48:29 -0400, J R wrote: I wish all computers did time-date stamps in Zulu, and only translated to local time as needed. Hear, hear! +1 (Heck, I wish Daylight Savings Time would go away, and wouldn't be adverse if local time would go away.) Hear, hear!

Leap Seconds, was Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread Field, Alan C.
Maybe leap seconds won't be an issue: http://tycho.usno.navy.mil/leap_second_poll.html Alan Leap seconds are a PITA. I'd like to reflect your question to IBM: What customers' business needs was IBM addressing in choosing to run the TOD clock on IAT (minus ten seconds), rather than on UT1

Re: Leap Seconds, was Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread Mansell, George R.
, was Efficient conversion of GMT to/from local time from COBOL? Maybe leap seconds won't be an issue: http://tycho.usno.navy.mil/leap_second_poll.html Alan Leap seconds are a PITA. I'd like to reflect your question to IBM: What customers' business needs was IBM addressing in choosing to run

Re: Leap Seconds, was Efficient conversion of GMT to/from local time from COBOL?

2008-10-31 Thread Paul Gilmartin
On Fri, 31 Oct 2008 10:06:17 -0500, Field, Alan C. wrote: Maybe leap seconds won't be an issue: http://tycho.usno.navy.mil/leap_second_poll.html The referenced document: Linkname: Memorandum and white paper URL:

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Timothy Sipples
Peter Farley writes: ...recently it has become more prudent to consider the maintenance costs and available knowledge down the road after our generation retires. Using documented, standard LE functions may not be as efficient as the assembler solution, but won't require an assembler programmer to

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Paul Gilmartin
On Wed, 29 Oct 2008 14:19:27 -0500, John McKown wrote: Is there a z/OS-supplied function to convert GMT to local time (or back again)? Yes. Look in the Language Environment manual, http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA3100/CCONTENTS watch out for the wrap!! CEECBLDY

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Howard Brazee
On 30 Oct 2008 03:11:32 -0700, [EMAIL PROTECTED] (Paul Gilmartin) wrote: Will these get the Daylight Saving Time offset correct for dates both before and after 2006 (in the U.S.)? Will these get the Leap Second offset correct for dates back to 1972 when leap seconds were instituted? (How do

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread J R
zone out there with their name on it and it's not theirs. :-( Date: Thu, 30 Oct 2008 08:06:41 -0600 From: [EMAIL PROTECTED] Subject: Re: Efficient conversion of GMT to/from local time from COBOL? To: IBM-MAIN@BAMA.UA.EDU On 30 Oct 2008 03:11:32 -0700, [EMAIL PROTECTED] (Paul Gilmartin

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Farley, Peter x23353
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Timothy Sipples Sent: Thursday, October 30, 2008 4:20 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Efficient conversion of GMT to/from local time from COBOL? Peter Farley writes: ...recently

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Ted MacNEIL
Heck, I wish Daylight Savings Time would go away, and wouldn't be adverse if local time would go away. China is on one time zone and it doesn't hurt them. So, is India. But, it can/does cause some problems with things like young children going to (or coming from) school in the dark. - Too

Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Bill Klein
There have been lots of replies referencing the LE callable date routines. Depending upon what type of date you are looking for, these may well be your best answer. HOWEVER, If all you want to do is know what the offset is from GMT of where your application is running, then you can easily just

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Farley, Peter x23353
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Bill Klein Sent: Thursday, October 30, 2008 12:35 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Efficient conversion of GMT to/from local time from COBOL? Snipped If you are working with arbitrary

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread J R
: [EMAIL PROTECTED] Subject: Re: Efficient conversion of GMT to/from local time from COBOL? To: IBM-MAIN@BAMA.UA.EDU Heck, I wish Daylight Savings Time would go away, and wouldn't be adverse if local time would go away. China is on one time zone and it doesn't hurt them. So, is India

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Ted MacNEIL
But DST is not the only solution to that problem. Different hours of business depending on the time of year would also work. People are mostly happy if the routine is not changed. DST is very disruptive to computers, but not to people. People would be much happier, if (for example) school

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Howard Brazee
On 30 Oct 2008 09:20:03 -0700, [EMAIL PROTECTED] (Ted MacNEIL) wrote: Heck, I wish Daylight Savings Time would go away, and wouldn't be adverse if local time would go away. China is on one time zone and it doesn't hurt them. So, is India. But, it can/does cause some problems with things like

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Ted MacNEIL
Those problems are based upon stupid bureaucracy. NO. As I stated earlier people like routine. Especially children. Don't change the clocks, change the stated time they should be at school. Won't work. - Too busy driving to stop for gas!

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread Howard Brazee
On 30 Oct 2008 10:34:56 -0700, [EMAIL PROTECTED] (Ted MacNEIL) wrote: But DST is not the only solution to that problem. Different hours of business depending on the time of year would also work. People are mostly happy if the routine is not changed. DST is very disruptive to computers, but

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-30 Thread J R
: Re: Efficient conversion of GMT to/from local time from COBOL? To: IBM-MAIN@BAMA.UA.EDU Heck, I wish Daylight Savings Time would go away, and wouldn't be adverse if local time would go away. China is on one time zone and it doesn't hurt them. So, is India. But, it can/does cause some

Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Farley, Peter x23353
Hi all, A question has been asked of me to which I think I know the answer, but not how (in)efficient it would be: Is there a z/OS-supplied function to convert GMT to local time (or back again)? Now, I don't yet know in what format the GMT is arriving for conversion, but it is very likely NOT

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Ted MacNEIL
BUT the question is, when called from COBOL will that small C routine set up and tear down the C environment every time it's called? If so, is there a way to make those calls to a C function from COBOL more efficient? For different values of efficient. But (having never done it, myself), my

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread John McKown
On Wed, 29 Oct 2008 15:04:46 -0400, Farley, Peter x23353 [EMAIL PROTECTED] wrote: Hi all, A question has been asked of me to which I think I know the answer, but not how (in)efficient it would be: Is there a z/OS-supplied function to convert GMT to local time (or back again)? Yes. Look in the

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Schneiderwent, Craig
Perhaps CEEISEC http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA3170/2.2.5.4 5?SHELF=CEE2BK71DT=20060629134445 followed by CEEGMTO http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA3170/2.2.5.3 9?SHELF=CEE2BK71DT=20060629134445 followed by adding the offset_seconds

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Tony Harminc
2008/10/29 Farley, Peter x23353 [EMAIL PROTECTED]: Hi all, A question has been asked of me to which I think I know the answer, but not how (in)efficient it would be: Is there a z/OS-supplied function to convert GMT to local time (or back again)? CEEGMTO is an LE function that will give

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Farley, Peter x23353
, 2008 3:19 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Efficient conversion of GMT to/from local time from COBOL? On Wed, 29 Oct 2008 15:04:46 -0400, Farley, Peter x23353 [EMAIL PROTECTED] wrote: Hi all, A question has been asked of me to which I think I know the answer, but not how

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Farley, Peter x23353
] On Behalf Of Schneiderwent, Craig Sent: Wednesday, October 29, 2008 3:33 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Efficient conversion of GMT to/from local time from COBOL? Perhaps CEEISEC http://publibz.boulder.ibm.com/cgi- bin/bookmgr_OS390/BOOKS/CEEA3170/2.2.5.4 5?SHELF=CEE2BK71DT

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Farley, Peter x23353
] On Behalf Of Tony Harminc Sent: Wednesday, October 29, 2008 3:23 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Efficient conversion of GMT to/from local time from COBOL? 2008/10/29 Farley, Peter x23353 [EMAIL PROTECTED]: Hi all, A question has been asked of me to which I think I know the answer

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Rick Fochtman
At the risk of exciting the ire of other list members, I think you'd better start coding the Assembler solution. You can use some shortcuts, 64-bit arithmentic, etc. that may further help speed the process. Farley, Peter x23353 wrote: Hi all, A question has been asked of me to which I think

Re: Efficient conversion of GMT to/from local time from COBOL?

2008-10-29 Thread Farley, Peter x23353
5:14 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Efficient conversion of GMT to/from local time from COBOL? At the risk of exciting the ire of other list members, I think you'd better start coding the Assembler solution. You can use some shortcuts, 64-bit arithmentic, etc. that may further help