help in running sims commandreporter (yet again!)
I am trying to use CR with parameters to limit dates.
If I make the paramdef xml file using the \PARAMDEF switch, alter the dates in it and use a batch file to run CR with the \PARAMFILE parameter pointing at the file it works OK.
However, (trying to avoid using the file) if instead I take the contents of the xml file and simply pass that entire string as a \PARAMS parameter CR gives me this error.
That corresponds to the first part of the xml where it states the version i.e
'1.0' is an unexpected token. The expected token is '"' or ''' Line 1, Position 15.
Has anyone used \PARAMS sucessfully?
/PARAMS:"<?xml version="1.0" encoding="us-ascii"?><ReportParameters><xs:schema id='ReportParameters' xmlns:xs='http://www.w3.org/2001/XMLSchema' ....etc.
BTW I would prefer to do it with a \PARAMS instead of PARAMSFILE as in my real application I use a Delphi program to call CR, not a batch file. However that seems to fail if I use either the /PARAMFILE or /PARAM swich, but works OK if I dont use parameters at all.