Mike, Search the list archives for TZRANGES EXEC. It builds the records for SYSTEM CONFIG (IIRC by default out to 2042).
If that's not what you are trying to do, maybe the file can be used in your EXEC, our you can rip out its guts? Mike Walter Aon Corporation (Sent from the wee keyboard of a Blackberry.) ----- Original Message ----- From: "Michael Coffin" [michaelcof...@mccci.com] Sent: 03/03/2011 09:36 AM EST To: IBMVM@LISTSERV.UARK.EDU Subject: Determining Daylight Savings Time Status Hi Folks, Does anybody have a program or know of a way to determine if a given date falls within a Daylight Savings Time range? The CP QUERY TIMEZONE command will show you defined timezones, and which one is active - but not the start/end dates of the zone. I'm trying to avoid coding up a hard-coded table in a REXX exec - but can't for the life of me figure out any other way to do it, and even though the zones are coded in SYSTEM CONFIG I can't find any way to query them in VM. Ideally, I need to do something like: DST=IsThisDST(mm/dd/yy) - and I only really care about the calendar date (even though DST doesn't normally "kick in" until 2:00am). -Mike The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.