Setinputtextvalues, Getoccurrencecount – HP NonStop G-Series User Manual
Page 220

void setInputTextValue(String fieldName, int index,
String textValue)
fieldName
The name of the field.
index
Index of the field.
textValue
The value to set.
Usage Sets the value of one occurrence of a field in the input buffer as a String.
Throws NoSuchFieldError, NumberFormatException
setInputTextValues
The setInputTextValues() method sets all the occurrences of a field in the input buffer as String.
void setInputTextValues(String fieldName,
String textValues[])
fieldName
The name of the field.
textValues
The values to set.
Usage Sets all the occurrences of a field in the input buffer as String.
Throws NoSuchFieldError, ClassCastException
getOccurrenceCount
The getOccurrenceCount() method gets the number of occurrences of a field from the output
buffer.
int getOccurrenceCount(String fieldName)
fieldName
The name of the field.
Returns The number of occurrences.
Usage Gets the number of occurrences of a field from the output buffer.