ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Is there a system table that lists members?

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

  • Is there a system table that lists members?

    Is there a system table that lists members on the system?

    I've had a look at a few files in QSYS2 and SYSIBM but they don't seem to have member information.
    Greg Craill: "Life's hard - Get a helmet !!"

  • #2
    Re: Is there a system table that lists members?

    not sure if it encompasses everything but take a look at SYSPSTAT in SYSIBM
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: Is there a system table that lists members?

      If that doesnt work here is an old program from the 70's that might help


      Jamie
      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: Is there a system table that lists members?

        Thanks Tom, That has it sorta.

        This runs sweet as;

        SELECT SYSTEM_TABLE_SCHEMA, SYSTEM_TABLE_NAME, SYSTEM_TABLE_MEMBER
        FROM sysibm/SYSPSTAT where SYSTEM_TABLE_NAME = ''

        This runs as fast as a galapogas turtle up a tree;

        SELECT SYSTEM_TABLE_SCHEMA, SYSTEM_TABLE_NAME, SYSTEM_TABLE_MEMBER
        FROM sysibm/SYSPSTAT where SYSTEM_TABLE_MEMBER = ''


        Obviously no key in the logical on the view for member name.
        Greg Craill: "Life's hard - Get a helmet !!"

        Comment


        • #5
          Re: Is there a system table that lists members?

          views don't have keys
          I'm not anti-social, I just don't like people -Tommy Holden

          Comment

          Working...
          X