ld.setPc(pc);
Tuple dummyTuple = null;
for (Result res = ld.getNextTuple(); res.returnStatus != POStatus.STATUS_EOP; res = ld
.getNextTuple()) {
Tuple tup = (Tuple)res.result;
LoadFunc lf = ((LoadFunc)pc.instantiateFuncFromSpec(ld.getLFile().getFuncSpec()));
String key = lf.getLoadCaster().bytesToCharArray(
((DataByteArray)tup.get(keyField)).get());
Tuple csttup = TupleFactory.getInstance().newTuple(2);
csttup.set(0, key);
csttup.set(1, lf.getLoadCaster().bytesToInteger(((DataByteArray)tup.get(1)).get()));