ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

System Table for DDMF

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • System Table for DDMF

    Does anyone know the System Table Lib/Name for DDMFs??

    I need to identify all DDMFs on our systems and where they point to (System/Library/Table)

    Anyone know of a System Table that might have all this in it where I can just run an SQL across and pull it out?

  • #2
    Re: System Table for DDMF

    The best I can find at this time is:


    SELECT DBXLIB, DBXFIL, DBXLFI RmtFil, DBXLB2 RmtLib
    FROM QSYS.QADBXREF
    Where DBXATR = 'AR'
    and DBXTYP = 'D'
    Order by DBXLIB, DBXFIL;
    Last edited by FaStOnE; January 18, 2011, 12:44 PM.

    Comment


    • #3
      Re: System Table for DDMF

      could you use QUSLOBJ to list all the file then use QUSRMBRD to get file descriptions using format MBRD0200 and checking remote file?
      All my answers were extracted from the "Big Dummy's Guide to the As400"
      and I take no responsibility for any of them.

      www.code400.com

      Comment


      • #4
        Re: System Table for DDMF

        The quickest route is to do a DSPFD FILE(*ALL/*ALL) FILEATR(*DDMF)

        To automate it in a program, you can use the file list api, so that you can filter down on *DDMF file type, and build your info from that.

        Edit: I tried Ricks SQL method, and it does work.
        Last edited by MichaelCatalani; January 18, 2011, 01:58 PM.
        Michael Catalani
        IS Director, eCommerce & Web Development
        Acceptance Insurance Corporation
        www.AcceptanceInsurance.com
        www.ProvatoSys.com

        Comment


        • #5
          Re: System Table for DDMF

          Yes I have no DDM files to test with....
          All my answers were extracted from the "Big Dummy's Guide to the As400"
          and I take no responsibility for any of them.

          www.code400.com

          Comment


          • #6
            Re: System Table for DDMF

            Originally posted by jamief View Post
            Yes I have no DDM files to test with....
            I created a few on my machine that point back to my machine, just to test with.
            Michael Catalani
            IS Director, eCommerce & Web Development
            Acceptance Insurance Corporation
            www.AcceptanceInsurance.com
            www.ProvatoSys.com

            Comment


            • #7
              Re: System Table for DDMF

              You have gobs more energy than I do....
              All my answers were extracted from the "Big Dummy's Guide to the As400"
              and I take no responsibility for any of them.

              www.code400.com

              Comment


              • #8
                Re: System Table for DDMF

                He's not an OLD FART like you are -- with Respect to Tom, everyone KNOWS he's old.

                Comment


                • #9
                  Re: System Table for DDMF

                  Originally posted by FaStOnE View Post
                  He's not an OLD FART like you are -- with Respect to Tom, everyone KNOWS he's old.

                  so says the man 4 years my senior
                  I'm not anti-social, I just don't like people -Tommy Holden

                  Comment

                  Working...
                  X