TAA Tools
DSPHOLIDAY      DISPLAY USA HOLIDAYS                   TAADATU

The Display  USA Holidays  command displays  a window of  the major  US
holidays  for a specific  year.  The  actual date  and day of  week are
also displayed.  A print option and an outfile option also exist.

If  an outfile is requested,  the model file is  TAADATUP with a record
name of HOLIDAYR.

A typical command  to display the holidays  for the current year  would
be:

             DSPHOLIDAY  YEAR(*CURRENT)

The fixed  holidays (such as New  Years) are handled  in the DSPHOLIDAY
programs.    See  the  RTVHOLIDAY tool  for  a  discussion  of  how the
floating holidays (such as Labor Day) are handled.

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

   YEAR          The  year of  the  holidays  to  be  displayed.    The
                 default is *CURRENT  for the current year.   A year in
                 the range of 1940-2039 may be specified.

   OUTPUT        How  the  output  should  be  displayed.   *  means  a
                 display   appears    if    the   command    is    used
                 interactively.   If  the command  is run  in batch  or
                 *PRINT  is specified,  a spooled  file  named HOLIDAYS
                 is  output.    If *OUTFILE  is  specified,  an outfile
                 named HOLIDAYP is created.

   PRTTYPE       The layout  of the  printed  output.   The default  is
                 *PORTRAIT.

                 *LANDSCAPE may  be specified to rotate  the output 180
                 degrees.

   OUTLIB        The  library  in  which  the  file  HOLIDAYP  will  be
                 placed.  The default is  *LIBL.  If the HOLIDAYP  file
                 does not already exist, a library must be named.

   OUTMBR        The  member of  the  GRPPRFP file  to  be  used.   The
                 default  is HOLIDAYP.   If the  member does  not exist
                 it is added.

   REPLACE       A *YES/*NO  value for  whether  the member  should  be
                 cleared before writing  records into it.   The default
                 is *YES.

                 *NO may  be specified to  add records to  any existing
                 data.

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

Only specific holidays are displayed.

Only the years 1940-2039 are provided for most holiday.

Easter  and the  related holidays are  provided for  the Western Church
calendar.

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

The following TAA Tools must be on your system:

     FILEFDBCK       File feedback
     RTVDAT          Retrieve date
     RTVHOLIDAY      Retrieve holiday
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   DSPHOLIDAY    *CMD                   TAADATU       QATTCMD
   TAADATUC      *PGM       CLP         TAADATUC      QATTCL
   TAADATUR      *PGM       RPG         TAADATUR      QATTRPG
   TAADATUR2     *PGM       RPG         TAADATUR2     QATTRPG
   TAADATUD      *FILE      DSPF        TAADATUD      QATTDDS
					

Added to TAA Productivity tools March 1, 1998


Home Page Up to Top