Wednesday, 23 July 2014

Maximo database migration error

Below errors may occur while doing Maximo 7.5 SQL Server migration to DB2 by using maxinst.bat (to import .db2 file). 

Error: The row length of the table exceeded a limit of "32677" bytes.

Generated "db2demo.db2" file from unlvct.bat contains wrong lengths for few columns.

For example: MAXMESSAGES table has more columns which has varchar (2000). But create table script in db2demo.db2 file may contain varchar (4000). It means unlvct.bat file doubled the length of the column.

To resolve the issue open the .db2 file and modify a error table (not always MAXMESSAGES) to decrease the length half (from 4000 to 2000, some cases 2000 to 1000 or 8000 to 4000).

Error: "N.ROWSTAMP" is not valid in the context where it is used.

Generated "db2demo.db2" file from unlvct.bat contains trigger scripts for interface related tables. Just modify .db2 file to remove/comment all scripts related to interface tables triggers.

For example:
  • MXIN_INTER_TRANS_T
  • MXIN_INTER_TRANS_U
  • MXOUT_INTER_TRANST
  • MXOUT_INTER_TRANSU
and also interface table related triggers. For instance, there was an existing interface table for PO called PO_IFACE. There must be a triggers in .db2 file, PO_IFACE_T and PO_IFACE_U. Just remove these trigger scripts in .db2 file.

Hope this article may help. Please correct me, if anything wrong.





BMXAA4076E - There was no value found for the system start date. The database load may not have completed successfully. Contact your system administrator to ensure that the database was installed properly.

BMXAA4076E - There was no value found for the system start date. The database load may not have completed successfully. Contact your system administrator to ensure that the database was installed properly.

This error will occur when maxinst.bat or configdb.bat or updatedb.bat file execution completed with errors.  Make sure all are executed successfully without any errors. Thereafter, there will be an entry in dummy_crypto column of dummy_table. Based on this crypto value "System Start Date" will generate by class (MXServer).

PM generating WO but not able to see record in Work Order Tracking application

We can generate a work order from PM application. Some times we can see the message that work order is generated, but not able to find that WO in work order tracking application.

Cause: When PM is created while admin mode is ON, it will create a PM record, but doesn't create a record in PMANCESTOR table. Such PM's doesn't generate work order and also it will not throw any error, just displays a message "PM **** generated work order ****".

Work Around: Identify the PM's which doesn't has entry in PMANCESTOR. Insert a record in PMANCESTOR from backend. Restart the server and generate a work order. It will successfully create a WO.

Solution: Before creating PM, make sure admin mode is OFF.

Thursday, 29 May 2014

Maximo: update table without rowstamp

In system properties, you can find property called "mxd.db.updateWithoutRowstamp". If this property is 1, then we can update table without rowstamp.

Usually interface tables doesn't have rowstamp. To update these kind of tables by using mbo customization, set this property to 1.

Wednesday, 28 May 2014

how to customise rich tooltips / record hovers

Please find the information by clicking below link - IBM site:

https://www.ibm.com/developerworks/community/blogs/e25892f0-20f7-46ff-bbe9-c7c03fb3036f/entry/customizing_rich_tooltips_on_sccd_also_known_as_record_hovers?lang=en


Thursday, 10 April 2014

Import classifications in Maximo 7.x

While importing classifications in Maximo 7.1 version, I was facing many problems like class structure is blank and hierarchal problems.

Firstly, my requirement is to load classifications with given hardcoded class structure id rather than auto generated integer number.

Secondly, need to import parent and child hierarchal structure.

1.       Duplicate MXCLASSIFICATION Object Structure and name it as per your requirement, remove the Inbound processing class.
2.       In ‘Restrict Attributes’ menu option, In the Source Object List, select CLASSSTRUCTURE
3.       Uncheck Restrict checkbox and check Override checkbox for below fields:
a.       Classstructureid
b.      Parent
4.     - Select Action > Exclude / Include Fields
5.     In the Source Object List, select CLASSSTRUCTURE
6.     In the Persistant Fields sub-tab, look for HASCHILDREN and UNCHECK the EXCLUDE checkBox. This will include the field in the schema.

Tuesday, 8 April 2014

Using discardable MBOs

Whenever we are going to get MboSet for traversing purpose, then it is better to make mbo set discardable.
By this, Mboset will not cache the MBOs as it fetches from directly from database. This will minimise the JVM memory usage.

Discardable Mbo Sets used for traversing forward only and not to be edited/saved. Discardable Mbo Sets are always read only.

Sample Code:

MboSetRemote poSet = getMboSet("PO");
poSet.setFlag(MboConstants.DISCARDABLE, true);
......
.........
............
.................
poSet.close();

Maximo SOAPUI error javax.xml.ws.WebServiceException

SOAPUI error while sending payload to below url (in cluster environment) http://localhost:9080/meaweb/services/MXASSET Error : <f...