[AGENT++] RE: Question for adding multiple rows into a table with multiple index
Kelly Sun
ksun at airwalkcom.com
Wed Oct 22 02:10:59 CEST 2008
Hello All,
Since I have not get the answer for this question, I'd like to make it
clearer. This is what I want to do: I need to create a table with the
rows, which have the indexes as the combination of the three index
values (sectorId (0..2), faId(0..2), chId(0..3)). e.g. (0.0.0); (0.0.1);
(0.0.2) ... (2.2.3).
The three index sectorId (0..2), faId(0..2), chId(0..3) are also
columnar objects in the table.
How do I do this? Any pointer for this will be really appreciated.
Thanks.
Kelly Sun
-----Original Message-----
From: Kelly Sun
Sent: Wednesday, October 15, 2008 5:07 PM
To: 'Frank Fock'
Cc: AGENTPP at agentpp.org
Subject: Question for adding multiple rows into a table with multiple
index
Hi Frank,
More question: Do I have to add the rows one by one (using for loop) to
add multiple rows into a table?
Most of my tables have multiple indexes and index ranges are defined in
the mib file. How should I create a table with all of the rows defined
by the multiple indexes?
For example I have the following indexes: sectorId (0..2), faId(0..2),
chId(0..3). The number of rows in my table is sectorId x faId x chId =
36.
What is the correct way to create this kind table?
Thank you so much for your help.
Kelly
More information about the AGENTPP
mailing list