Error Message :
When doing a PREP_PROCESS_REPORT on a search term with a trailing blank at the end of the search term, the search term is not found causing the PREP_PROCESS_REPORT to end in a status of NOK. Investigation Example:
Echo command in the Process tab:
This is the Test Text for XYZ
PREP_PROCESS_REPORT in the Post process tab:
:set &Report# = PREP_PROCESS_REPORT(,,'REP','*XYZ ') Results
:set &Error# = '1'
: set &Error# = '0'
: set &Info# = get_process_line (&Report#)
: print &Info#
:if &Error# = '1'
: print "NOK"
: print "OK"
The PREP_PROCESS_REPORT ends in a status of NOK
(Not Ok) due to the trailing blank at the end of the search term *XYZ.