Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Posts
    7

    Question Unanswered: Need to find dependent sps

    Can any one help me to find out dependent sps in DB2..

    Thnks in advance

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    syscat.Routinedep ? Not very sure though
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Feb 2006
    Posts
    7
    ya got it satya ...


    This is the query ..



    SELECT SYSROUT.ROUTINENAME
    FROM
    (
    SELECT PKGDEP.BNAME
    FROM SYSCAT.PACKAGEDEP PKGDEP,
    SYSIBM.SYSDEPENDENCIES SYSDEP,
    SYSIBM.SYSROUTINES SYSROUT
    WHERE PKGDEP.PKGNAME = SYSDEP.BNAME
    AND SYSDEP.DNAME = SYSROUT.SPECIFICNAME
    AND PKGDEP.BSCHEMA = SYSROUT.ROUTINESCHEMA
    AND SYSROUT.ROUTINENAME = 'SP_DEPEND'
    AND SYSROUT.ROUTINETYPE = 'P'
    AND PKGDEP.BTYPE = 'F'
    ) DEP,SYSIBM.SYSROUTINES SYSROUT
    WHERE SYSROUT.SPECIFICNAME = DEP.BNAME
    AND SYSROUT.ROUTINETYPE = 'P'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •