Create a view, then in Maximo db config add it, then use the view as your query.
Original Message:
Sent: 07-25-2024 15:08
From: Amy Tellier-Briggs
Subject: Increase size of query character limit in Work Order Tracking?
Hi Will - I am using BIRT to create the report, and I've never run into this before, so I was kind of at a loss. But Julio provided some elegant code that solved the issue, so I think I'm all set. For what it's worth, I was able to manually enter my code in the Where clause and get results, but the problem arose when I tried to save that query or create a report from the result set. It's weird...
Thanks for being willing to help! :)
Amy
------------------------------
Amy Briggs
Maintenance Planner
The Jackson Laboratory
Bar Harbor, ME
207-288-6356
------------------------------
Original Message:
Sent: 07-25-2024 09:20
From: Will Zurkan
Subject: Increase size of query character limit in Work Order Tracking?
Hi Amy. Have you tried using BIRT or Cognos to create the report? I've had queries as long as yours without an issue... wonder if this is complaining about a particular attribute (rather than the query itself) exceeding 4000 character limit. For example, we have work order descriptions that concatenate PM + Job Plan... this was raising an error with Work Order Descriptions exceeding 4000 character limit, but only when being saved... meaning they had to be manually truncated to resolve issue. Another possibility is to not use Ad Hoc or Where Clause but the interface itself... meaning select the locations manually from the interface and then add statusdate and other conditions once it runs. Having said that, Maximo may be configured uniquely for every instance and so this could've been put in place to prevent overtaxing Maximo CPU. ~Will
------------------------------
Will Zurkan
Symbotic
Original Message:
Sent: 07-24-2024 15:00
From: Amy Tellier-Briggs
Subject: Increase size of query character limit in Work Order Tracking?
I should clarify - I am able to run this query, BUT when I try to save the query or create a report from it, ad hoc or scheduled, it won't let me. THAT"s when I get this message:
BMXAA4049E - The value specified exceeds the maximum field length that is allowed for this attribute: Value = (((woclass = 'WORKORDER' or woclass = 'ACTIVITY') and (status not in('COMP','CL..., Object Name=QUERY, Attribute Name=CLAUSE, Maximum Length=4,000.
Help? :(
------------------------------
Amy Briggs
Maintenance Planner
The Jackson Laboratory
Bar Harbor, ME
207-288-6356