Utilice la API de 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
}
Descargas
|
Biblioteca
|
Soporte
|
Comentarios
Copyright IBM Corporation 1999, 2011.
Última actualización
: 2011-11-07 13:57:44
Tema de tarea |
Versión 8.0.0.0
| bc31330_