This content has been marked as final. Show 3 replies
Go for a new batch file that would create run time PurgeCache.sql with required arguments(parameters) and then execute the nqcmd command. you have to call the new batch file to purge the cache and DB would be the argument for that batch file.1 person found this helpful
The new batch file something like below. its just sample
Call SAPurgeCacheByDatabase(%dbarg1%); >PurgeCache.sql
nqcmd -d coreapplication1 -u X -p Y -s PurgeCache.sq
If helps mark, no more Qs on this I'm not an expert on batch programming but giving hints thats it.
Edited by: Srini VEERAVALLI on Mar 5, 2013 6:16 AM
That code is sample, will not work!!!!
Edited by: Srini VEERAVALLI on Mar 5, 2013 6:29 AM
It doen't work and I'm getting the following error.
'SAPurgeCacheByDatabase' is not recognized as an internal or external command.
Do you think that is actual/working code?
Just giving some hints to you so that you can code as I said.