TAA Tools
DSPDSTDAT       DISPLAY DST DATE                       TAATINP

The  Display DST  (Daylight  Savings  Time)  Date command  displays  or
lists  the start  and end date/times  for daylight  savings time  for a
time  zone  in a  specific  year.   The  system support  for  Time Zone
Descriptions does not include actual dates of change.

A typical command would be:

             DSPDSTDAT

The command defaults to use  the time zone of the system  value QTIMZON
and the current year.

DSPDSTDAT escape messages you can monitor for
---------------------------------------------

      TAA9893    The Time Zone does not support DST

Escape messages from based on functions will be re-sent.

DSPDSTDAT Command parameters                         *CMD
----------------------------

   TIMZON        The  time zone  to display  the information  for.   It
                 must  be one  of  the special  values or  a name  of a
                 time zone as seen with WRKTIMZON.

                 The following  special  values exist  along  with  the
                 time zone that will be used:

                   *SYSVAL      The QTIMZON system value
                   *GMT         Q0000GMT
                   *BRITISH     Q0000GMT2
                   *UTC         Q0000UTC
                   *ATLANTIC    QN0400AST2
                   *EASTERN     QN0500EST3
                   *CENTRAL     QN0600CST2
                   *MOUNTAIN    QN0700MST2
                   *PHOENIX     QN0800PST3
                   *PACIFIC     QN0800PST2
                   *ALASKA      QN0900AST2
                   *HAWAIIAN    QN1000HAS2
                   *NEWZEALAN   QP1200NZS3
                   *EAUSTRAL    QP1000AES3
                   *CAUSTRAL    QP0930ACS3
                   *WAUSTRAL    QP0800AWS3
                   *JAPAN       QP0900JST
                   *KOREA       QP0900KST
                   *BEIJING     QP0800BST

                   *MOSCOW      QP0300MSK
                   *INDIA       QP0530IST
                   *EEUROPE     QP0200EET3
                   *CEUROPE     QP0100CET4

   YEAR          The year  of the  information to  be returned.   *CURR
                 is the  default for the current year.   The value must
                 be in a range of 2009 - 2039.

   OUTPUT        How to  output  the results.    * is  the  default  to
                 display the  spooled file  if the  command is  entered
                 interactively.   The spooled file is  deleted after it
                 is displayed.

                 If  the  command  is  entered in  batch  or  *PRINT is
                 specified, the  spooled file  is output and  retained.


Restrictions
------------

None.

Prerequisites
-------------

The following TAA Tools must be on your system:

     CVTTIM          Convert time
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVDAT          Retrieve date
     RTVDSTDAT       Retrieve DST date
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   DSPDSTDAT     *CMD                   TAATINP       QATTCMD
   TAATINPC      *PGM       CLP         TAATINPC      QATTCL
   TAATINPR      *PGM       RPG         TAATINPR      QATTRPG
					

Added to TAA Productivity tools January 15, 2010


Home Page Up to Top