Skip to Content
avatar image
Former Member

Unable to get Tag Values when request more than 1100 tags together in PCo

Hi Experts,

We are unable to get Tag Values when Try to query more that 1100 Tags in one shot in PCo.

Below is the error :

  • [ERROR] com.sap.xmii.Illuminator.logging.LHException: Query execution failed due to following: [Tag] : Exception [ParserException] - Parse Error occured in directive number 1, 'Directive #2': Maximum Iteration Loops Occured.

  • [ERROR] Uncaught exception from TagsUpdatePcoQuery_0, com.sap.xmii.Illuminator.logging.LHException: Query execution failed due to following: [Tag] : Exception [ParserException] - Parse Error occured in directive number 1, 'Directive #2': Maximum Iteration Loops Occured.

Is there any configuration setting to get this or do i need to modify logic in MII and send limited Tags at once ?

Any help will be highly appreciated.

Thanks

Shashank

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Sep 15, 2014 at 06:05 AM

    Hi Shanshank,

    If it's a Maximum Iteration Loops Occured exception, you might have reached maximum limit. It's better if you can break it in chunks and parse the data. This would rather help you optimize your app.

    Thanks,

    Swaroop

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Swaroop,

      My understanding is that there must be any parameter in PCo Management which limits the number of Tags browsed at a time. Doing this i don't have to rewrite the logic and can use the existing logic.

      Regards

      Shashank

  • Sep 15, 2014 at 03:28 PM

    Any insight into what you are trying to achieve is useful here as there may be a better approach/design to your application. Please also share the version of your MII/PCo installations.

    Thanks,

    Sam

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Hari,

      First, change the Returned Row Size to a value > 1200, say 2000.

      If that does not fix the issue, make sure you have deployed the most recent PCo 2.3 SP06 Patch 2.

      If that does not fix the problem, recommend that you update PCo to the latest 15.1 SP02 Patch 7. Note that with PCo 15.1 there is no longer a license requirement, you can install and run without registering a license file. Also, as you patch/upgrade your current instance, make sure you create a FULL export of the PCo configuration.

      Regards, Steve