TAA Tools
CHKJRNLIB       CHECK JOURNAL LIBRARY                  TAAJROF

The Check  Journal  Library command  checks for  objects  in a  library
that  are intended to  be used for  remote journaling and  ensures they
are  journaled.  Either *ALL  or one or more  of the object types *FILE
(PFs only),  *DTAARA,  or *DTAQ  objects  may be  specified.   You  may
optionally request a check for the QDFTJRN data area.

The  QDFTJRN  data  area is  used  by  the  system to  cause  automatic
journaling of objects intended for remote journaling.

A typical command would be:

             CHKJRNLIB     LIB(xxx)

Since  *ALL is the  default for  the OBJTYPE parameter,  all *FILE (PFs
only), *DTAARA, and  *DTAQ objects  would be ensured  to be  journaled.
Since QDFTJRN(*YES)  is the  default, all  objects being  journaled are
ensured  to be journaled to  the journal described in  the QDFTJRN data
area.

The QDFTJRN data  area allows you  to describe to the  system that  you
want  any  of the  object  types  used  with remote  journaling  to  be
automatically  journaled when  created  in  the library,  moved  to the
library,  or restored to the  library.  The journal name  to be used is
stored in  the data  area.   If  you have  not created  a QDFTJRN  data
area, use the command CHGQDFTJRN.

CHKJRNLIB escape messages you can monitor for
---------------------------------------------

      TAA9892    One or more errors exist.

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


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

   LIB           The  library to  be  checked.   A  list of  up to  300
                 library names and/or generic names may be entered.

   OBJTYPE       The  object type to  be checked.  The  default is *ALL
                 to check  for all  physical  data files,  data  areas,
                 and  data queues.   Note  that  source physical  files
                 are not checked for.

                 A  list  of  up to  3  object  types  may be  entered.
                 *FILE may  be specified  to  check for  physical  data
                 files.   *DTAARA may  be specified  to check for  data
                 areas.    *DTAQ may  be  specified to  check  for data
                 queues.

   QDFTJRN       A   *YES/*NO  value  for  whether  to  check  for  the
                 QDFTJRN data area in each library specified.

                 *YES is  the  default meaning  that the  QDFTJRN  data
                 area  must   exist  and  the  journal   name  that  is
                 specified  within the  data area  must be  the journal
                 that  is  used  for  the  journaled  objects   in  the
                 library.

                 *NO may be specified to bypass the checking.

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

None.

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

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     EDTVAR          Edit variable
     EXTLST          Extract list
     RTVDBFA         Retrieve data base file attributes
     RTVOBJJRNA      Retrieve object journal attributes
     SNDCOMPMSG      Send completion message
     SNDDIAGMSG      Send diagnostic message
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   CHKJRNLIB     *CMD                   TAAJROF       QATTCMD
   TAAJROFC      *PGM       CLP         TAAJROFC      QATTCL
					

Added to TAA Productivity tools December 15, 2002


Home Page Up to Top