153154155156157158159160161162163
if (getISeriesEndpoint().getFormat() == Format.binary) { typeConverter = new AS400ByteArray(length); } else { typeConverter = new AS400Text(length, iSeries); } javaValue = typeConverter.toObject(output); } results.add(javaValue); i++; }
124125126127128129130131132133134
if (output != null) { int length = pgmParam.getOutputDataLength(); AS400Text text = new AS400Text(length); value = (String) text.toObject(output); } results.add(value); i++; }