TAA Tools
DLTJOBDLIB      DELETE JOB DESCRIPTION LIBRARY         TAAJBDK

The Delete Job Description  Library command deletes a library  from the
INLLIBL  attribute of one  or more job  descriptions.  This  command is
useful  if a library  has been deleted  and should be  removed from any
Job Descriptions.   No error occurs  if the library is  not found in  a
Job Description.

You  must have  *ALLOBJ special  authority  to specify  a JOBD  library
qualifier of *ALL or *ALLUSR.

Use  the  DSPJOBDLIB  command  to  determine  if  any Job  Descriptions
contain the library name.

A typical  command to  delete  library ABC  from all  Job  Descriptions
would be:

            DLTJOBDLIB   DLTLIB(ABC) JOBD(*ALL/*ALL)

DLTJOBDLIB escape messages you can monitor for
----------------------------------------------

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

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

   DLTLIB        The  library  to   be  deleted  from  the   named  Job
                 Description.

   JOBD          The  qualified name of  the Job  Description to delete
                 the specified library from.   A specific JOBD name,  a
                 generic  name,  or  the special  value  *ALL  for  all
                 JOBDs may be used.

                 The  library  value defaults  to  *LIBL.   A  specific
                 library,  *USRLIBL, *CURLIB,  *ALL, or  *ALLUSR may be
                 entered.

   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
------------

You must  have *ALLOBJ special authority to  specify a library value of
*ALL or *ALLUSR.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVJOBD         Retrieve job description
     RTVSYSVAL3      Retrieve system value 3
     SCNVAR2         Scan variable 2
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     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
   ------        ----    ---------      ----------    ----------

   DLTJOBDLIB    *CMD                   TAAJBDK       QATTCMD
   TAAJBDKC      *PGM       CLP         TAAJBDKC      QATTCL
   TAAJBDKR      *PGM       RPG         TAAJBDKR      QATTRPG
					

Added to TAA Productivity tools August 1, 2008


Home Page Up to Top