Use the IBM® Integration API to read table values by accessing and extracting table values.
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
}