Error Message :
N/A
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 ')
:set &Error# = '1'
:process &Report#
: set &Error# = '0'
: set &Info# = get_process_line (&Report#)
: print &Info#
:endprocess
:close_process &Report#
:if &Error# = '1'
: print "NOK"
:else
: print "OK"
:endif
Results 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.