Getting Log info from dbc tables

General

Getting Log info from dbc tables

procid and queryid in  DBC.DBQLOGTBL is not matching with the procid and queryid in DBC.DBQLOBJTBL. IS there any  specific condition exits on which those cannot be matched?Please help me