Utilice la API Java de Message Broker para leer valores de tabla accediendo a los valores de la tabla y extrayéndolos.
PatternParameterTable paramtable = pim.getParameterTable("pp3");
int noRows = paramtable.getRowCount();
String value;
PatternParameterRow row;
for(int i=0; i<noRows; i++) {
row = paramtable.getRow(i);
value = row.getValue("column");
//insert your code here
}
PatternParameterTable paramtable = pim.getParameterTable("pp3");
int noRows = paramtable.getRowCount();
PatternParameterRow row;
String[] columns;
String value;
for(int i=0; i<noRows; i++) {
row = paramtable.getRow(i);
columns = row.getColumns();
int noColumns = columns.length;
for(int j=0; j<noColumns; j++) {
value = row.getValue(columns[j]);
//insert your code here
}
Copyright IBM Corporation 1999, 2012.
Última actualización
: 2012-07-13 19:57:05
Tema de tarea |
Versión 8.0.0.1
| bc31330_