TAA Tools
PRT400CAL       PRINT i5/OS CALENDAR                   TAACALA

The Print  i5/OS Calendar command prints  an 8 and  1/2 by 11  page for
each  month in a  specified year  between 1940  and 2039.   Columns and
rows  are  drawn.   Command  options  allow tailoring  of  the calendar
including entering your own personal  dates.  The intent is  to provide
personal hard copy calendars.

A typical command would be:

        PRT400CAL   YEAR(2009)

PRT400CAL has no relation to the Office Vision calendar support.

Standard  descriptions of  some of  the  dates appear  in the  calendar
such  as  Christmas  and the  US  Labor  Day.   You  may  add  your own
descriptions, change a description, or blank out a description.

The characters used to print  the horizontal rows or the vertical  bars
may be changed on the command.

A consecutive day  count is optionally printed in the  lower right hand
portion of each day unless overlaid by a date description.

The previous  month and next month print at the  bottom of each page as
just rows of dates in 7 columns.   The TAA Tool of the month prints  at
the bottom of each month.

Sequence of descriptions
------------------------

The sequence of date descriptions that print is:

         - Date descriptions you have entered
         - Fixed dates such as Christmas
         - Floating dates such as the US Mothers Day

The first  MMDD value  found is the  description that  will print.   If
you want  to a blank  description, enter the  MMDD value and  *BLANK as
the description (see the EXTRADATE parameter).

Saving your command
-------------------

If  you  enter a  complex command  with several  of your  own EXTRADATE
values (such  as birthdays),  you can save  your command  for use  next
year with  the FAVCMD tool.   See the discussion with  the FAVCMD tool.
You must first ensure that a FAVCMDP file exists, then enter:

             PRT400CAL  ...

             ADDFAVCMD  FAVID(xxx)

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

   YEAR          The  calendar year to be  printed.  It must  be a year
                 between 1940 and 2039.

   HORCHAR       The horizontal character  used to print  the rows.   A
                 period sign ('.') is the default.

   VERCHAR       The vertical character  used to print the  columns.  A
                 period sign ('.') is the default.

   PRTFILE       The  printer  file  that  is  used.    QPRINT  is  the
                 default.  The library qualifier defaults to *LIBL.

   DAYOFYEAR     A *YES/*NO  value that  defaults  to *YES  meaning  to
                 print the running day  of the year in the  lower right
                 hand corner of each day.

   DAYDESCRP     A  *YES/*NO value  that  defaults to  *YES  meaning to
                 print  the text descriptions of  the special days such
                 as 'Christmas'  in the  last  line of  each date  box.
                 The  description may  be  long enough  to overlay  the
                 running day of year.

   TAATOOL       A  *YES/*NO  value that  defaults to  *YES  meaning to
                 print TAA Tool information at  the bottom of the  page
                 on  each side.   Specifying  *NO, eliminates  printing
                 of  the PRT400CAL indication  on the left  and the TAA
                 Tool of the month on the right.

   EXTRADATE     A list of up to  60 extra dates and descriptions  that
                 will appear  in the  calendar.   For example, you  may
                 want to enter special birthdays or local holidays.

                 Each  date entry  requires  a  date in  the  format of
                 MMDD and up to 12 bytes of description.

                 Your   date  descriptions  take  precedence  over  the
                 standard descriptions provided.   For example,  if you
                 enter a  description of 1225  (MMDD), your description
                 will appear instead of 'Christmas'.

                 If  a  description appears  in the  Calendar  that you
                 want to blank out, enter the special value *BLANK.

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

None.

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

The following TAA Tools must be on your system:

     CHKLEAP      Check leap year
     EXTLST       Extract list
     RTVDAT       Retrieve date
     RTVHOLIDAY   Retrieve holiday
     SNDCOMPMSG   Send completion message
     SNDESCMSG    Send escape message
     SNDSTSMSG    Send escape message

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

None, the tool is ready to use.

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

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

   PRT400CAL     *CMD                       TAACALA       QATTCMD
   TAACALAC      *PGM           CLP         TAACALAC      QATTCL
   TAACALAR      *PGM           RPG         TAACALAR      QATTRPG
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top