TAA Tools

 DLTDEPLGL       DELETE DEPENDENT LOGICALS         TAADBFD

 The DLTDEPLGL  command deletes the  dependent logicals over  a physical
 file.  It does not delete the physical file.

 A typical use of the command would be:

           DLTDEPLGL     FILE(FILEA)

 The following occurs:

   **   An *EXCL  lock is attempted on  the physical file.   If the lock
        cannot  be obtained, the  command will fail  before any logicals
        are deleted.  If  one of the logicals  is open, the lock  cannot
        be obtained.

   **   If the  user is  not authorized to  delete one of  the logicals,
        the command will fail before any deletions are attempted.

   **   If  access paths are shared either on  the physical or on one of
        the logicals, the logicals will be deleted.

 A logical file is not valid for DLTDEPLGL.

 The DLTDEPLGL command returns  informational messages for each  logical
 file deleted and  a completion message if  all files were deleted.   If
 no files exist to delete, a different completion message is sent.

 If  no  logical  files  exist,  the  command  ends  with  a  completion
 message.

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

    FILE          The  qualified   data   base   physical   file   who's
                  dependent logicals  should  be deleted.   The  library
                  defaults to *LIBL.

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

 None.

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

 The following TAA Tools must be on your system:

         SNDCOMPMSG    Send completion 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
    ------        -----      ---------      ----------     -----------

    DLTDEPLGL     *CMD                      TAADBFD        QATTCMD
    TAADBFDC      *PGM          CLP         TAADBFDC       QATTCL

Added to TAA Productivity Tools April 1, 1995


Home Page

Last modified on November 19, 2014 © 1995, 2014 - TAA Tools, Inc.