Hi
        I am able to get all internal data structures using compiler api is working fine. Thanks for excellent work.
Now to the question: How I can get the table information form the MIB file,
that is I want table name, table oid, column count, column names and index details.
In this mail I attached small portion of MIB

--      Relay Table definition starts here  

        relayTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF RelayEntry
        ACCESS  not-accessible
        STATUS  current
        DESCRIPTION     "A table containing Relay-specific information"
        ::= { attributes 1}

        relayEntry OBJECT-TYPE
        SYNTAX  RelayEntry 
        ACCESS  not-accessible
        STATUS  current
        DESCRIPTION     "Information about a particular Relay"
        INDEX   {relayNumber}
        ::=     {  relayTable 1}  
               
        RelayEntry      ::= SEQUENCE{ relayNumber       Integer32,
                                          relayStatus   INTEGER,
                                          relayType     INTEGER}
               
        relayNumber        OBJECT-TYPE
        SYNTAX             Integer32
                MAX-ACCESS         read-only
                STATUS             current
                DESCRIPTION        "This attribute gives the Relay number "
        ::= { relayEntry 1}        
       
                relayStatus        OBJECT-TYPE
                SYNTAX             INTEGER { open(1), close(2) }
        MAX-ACCESS         read-only
                STATUS             current
                DESCRIPTION        "This attribute gives the status of the Relay that is either open or close"
                ::= { relayEntry 2}        
       
                relayType          OBJECT-TYPE
                SYNTAX             INTEGER { in(1), out(2) }
        MAX-ACCESS         read-only
                STATUS             current
                DESCRIPTION        "This attribute gives the Type of the Relay that is In or Out"
                ::= { relayEntry 3}       

--      Table definition ends here                       

Thanks and regards
ashok