I am using a batch job to manage some services, and I am calling a batch job that has the following command:
logparser -i:TEXTLINE -stats
FF -rtp:25 "select text from c:\qresults.txt where text like '%erp%' or text like '%service_name%' or text like '%state%'"
when that batch job run either through that call function or if I simply double click on it I get the following error:
C:\batchwork>logparser -i:TEXTLINE -stats
FF -rtp:25 "select text from c:\qresu
lts.txt where text like '' or text like '' or text like ''"
Error: Syntax Error: <term2>: no valid LIKE mask
I have even tried collecting just one names,and get the same error. I am sure this is being cuased becase batch jobs see %xxx% as a variable name, I tried declaring the variable but I have not had much success. Any help would be appricieated.
Thx,
-d