The ICMSTRInnnsss table (where nnn is LibraryID and sss is SysSegmentID) maintains the referential attributes for the content manager.
| Column Name | Data Type | Attribute |
|---|---|---|
| SourceItemID | CHAR(26) | NOT Null |
| SourceItemTypeID | INTEGER | NOT Null |
| SourceCompID | CHAR(18) | NOT Null |
| SourceCompTypeID | INTEGER | NOT Null |
| SourceVersionID | SMALLINT | NOT Null |
| TargetItemID | CHAR(26) | NOT Null |
| TargetItemTypeID | INTEGER | NOT Null |
| TargetCompID | CHAR(18) | NOT Null |
| TargetCompTypeID | INTEGER | NOT Null |
| TargetVersionID | SMALLINT | NOT Null |
| RRIID | CHAR(26) | NOT Null |
| Status | SMALLINT | NOT Null |
Index = (SourceItemID, SourceCompID, SourceVersionID, SourceCompTypeID)
Index = (TargetItemID, TargetVersionID, TargetCompID, TargetCompTypeID)
Index = (TARGETITEMID, TARGETITEMTYPEID, TARGETCOMPID, TARGETCOMPTYPEID,
SOURCEITEMTYPEID, SOURCECOMPTYPEID)
Index = (SOURCECOMPTYPEID, SOURCEVERSIONID, SOURCECOMPID)
z/OS only:
Unique Index = (RRIID ascending)
Column Definitions
Sample SQL Statements
select distinct targetcomptypeid partcomptypeid, targetitemid partitemid
from icmstri001001
where sourceitemid = 'A1234567890123456789012345' and
sourceversionid = 1
order by targetcomptypeid
get part ICMUT name by ICMUTnnnnn001
where nnnnn is 5 digits component type
ID.select *
from ICMUTnnnnn001
where itemid = 'A0987654321098765432109876'
select targetitemid, targetcompid, targetversionid,
targetitemtypeid, targetcomptypeid
from icmstri001001
where sourceitemid = 'A1234567890123456789012345' and
sourceversionid = 1
select k.keywordname, r.sourceitemid r.sourceitemtypeid,
r.sourcecompid, r.sourcecomptypeid, r.sourceversionid
from icmstri001001 r, icmstnlskeywords k
where k.keywordclass = 2 and
k.keywordcode = r.sourceitemtypeid and
r.targetitemid = 'A05B01C01047I154400010s100' and
r.targetversionid = 1
select wp.*
from ICMUT00204001 wp
where rtargetitemid = 'A1234567890123456789012345'
select *
from icmstri001001
where targetitemid = 'A1234567890123456789012345'
select wp.rtargetitemid
from ICMUT00204001 wp
where componentid = 'A12345678901234567'
select targetitemid
from icmstri001001
where sourcecompid = 'A12345678901234567'
select wp.rtargetitemid
from ICMUT00204001 wp
where itemid = 'A1234567890123456789012345'
select targetitemid
from icmstri001001
where sourceitemid = 'A1234567890123456789012345'
