Hi Steve
Many thanks for your reply. I am using PI SDK 2012. I have set the logging level on PCo to Verbose and I attach a dump of the relevenat output lines below. I notice that in the instances where a specific tag is queried then there is no problem e.g -
e.g |Information|AgentBase|Tag Query: pragma UseLegacy;RETRIEVE FIRST "CMB_Formpress_Production_Run_Time_Shift_PF"
it only errors when doing an "open" query against all the tags using the following:
|Error|AgentBase|Error executing Directives of Tag Query: pragma UseLegacy;LIST Groups RECURSIVELY WHERE RowCount=250;|"ParserException: Parse Error occured in directive
|Information|AgentBase|Tag Query: pragma UseLegacy;LIST Groups RECURSIVELY WHERE RowCount=250;|
I can't find any control over the above - MII always triggers this query when I open a PI tag query and click on the Tag Query Details section. I spoke to a PI consultant and he does not recognize the error as a PI or SDK specific problem but he pointed me to another article regarding PCo:
http://help.sap.com/saphelp_mii122sp01/helpdata/en/4a/a98326ff1537b1e10000000a421138/content.htm
in which it mentions - "On the Hierarchy tab, you can select tags for which you want to execute the query. If groups are supported by the selected PCo agent, the system displays the groups and tags in the tree view". The error message from PCo seems to be saying that Groups are not supported but I don't know where I have any control over this. I could not see anything obvious in the config of the agent on PCo.
Rgds
Richard.