TAA Tools
CHKJOBDLIB      CHECK JOB DESCRIPTION LIBRARY          TAAJBDE

The Check Job  Description library tool  checks for a named  library in
the INLLIBL  parameter of one, all, or generic  job descriptions.  This
simplifies hunting for a library name.

A  typical command to  check for library LIBAA  in all job descriptions
beginning with the name ABC in library LIB1 would be:

             CHKJOBDLIB    JOBD(LIB1/ABC*) LIB(LIBAA)

If a generic  name or *ALL job  descriptions were requested, a  spooled
file  is output  which  contains  one line  for  every job  description
containing the specified library.

If  at least  one job  description contains  the library,  a completion
message is  sent.   If  no job  descriptions  contain the  library,  an
escape message is sent.

The special values *SYSVAL or *NONE may also be checked for.

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

   JOBD          The  qualified  name  of  the job  description  to  be
                 checked.   A generic name may be  used or *ALL for all
                 job descriptions.    The  library  value  defaults  to
                 *LIBL.   *USRLIBL, *CURLIB,  *ALL, or  *ALLUSR may  be
                 used.

   LIB           The  named library to  be checked  for in  the INLLIBL
                 parameter.   The  special values *SYSVAL  or *NONE may
                 be searched for.

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

None.

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

The following TAA Tools must be on your system:

     EDTVAR          Edit variable
     CHKGENERC       Check generic
     PRINT           Print from a CL program
     RTNCURLIB       Return current library
     RTVJOBD         Retrieve job description
     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
   ------        ----    ---------      ----------    ----------

   CHKJOBDLIB    *CMD                   TAAJBDE       QATTCMD
   TAAJBDEC      *PGM       CLP         TAAJBDEC      QATTCL
					

Added to TAA Productivity tools November 1, 1997


Home Page Up to Top