Saturday, February 1, 2014

Websphere Log file name Change

If there are many Application servers set up [clusters] in the Websphere, we would like to have different log file names for different servers to identify the files for debugging.



1. On the Left hand side, Click on Troubleshooting --> Logs and trace.
 
2. Select the Application Server and choose the "JVM logs" under General Properties. 

 



3. File Names are modified for System Out and System Error log files on the Configuration tab.

    File name: ${SERVER_LOG_ROOT}/MAXDEV_Out.log     


${SERVER_LOG_ROOT} is Websphere variable defined at Application server level scope.


 

 

Wednesday, January 22, 2014

Maximo 7.x Report List, description and demo outputs

We may need to refer out of the box reports to develop the custom reports with features, such as Bar Graphs, Charts, Hyperlink, localization etc.
In some situations, we were asked by the Customers on the capability and limitation of Maximo reports.

This below link lists the V75 Delivered Reports, along with their descriptions, file names, and references to other information including parameters, templates, grouping, sorting and unique reporting functionality.

It has the PDF version of demo outputs of reports as well.

https://www-304.ibm.com/support/docview.wss?uid=swg21497942

Maximo 7.1
http://www-304.ibm.com/support/docview.wss?uid=swg21305005

Thursday, January 2, 2014

Sort Inbox Assignments by Start Date in Maximo 7.x

We need to override the getInboxAssignments() method by extending the  out of box class psdi.workflow.WFAssignmentSet to sort the records in descending order by start date.

The new Custom Mbo Set needs to be configured in the Database configuration of WFASSIGNMENT object. 

public class CustomWFAssignments extends WFAssignmentSet implements WFAssignmentSetRemote
{
     public void getInboxAssignments() throws RemoteException, MXException
         {
            super.getInboxAssignments();
            setOrderBy(" STARTDATE desc");
            reset();
         }
}

Wednesday, December 25, 2013

Search Operators in List tab

I would like to share a tip on Search Operators on the List tab fields when retrieving the data in Maximo 7.x

1.    > [greater than Sign) before a date or number to find records that exceed that value

Example: >1172 finds records of occurrences that have Work order number greater than 1172



  >1/11/13 finds records of occurrence after that date.
The date can also be typed. The date format depends on the existing date formats.


2.        < (less than sign) before a number or date to find records that are less than that value
3.        = (equal sign) before a word or number to find only the records that match that value exactly.
Example:
Simply typing APPR value in Status field of work order application List tab would display Work orders of status APPR and WAPPR.
To get exact APPR records, we need to type =APPR in the List tab
4.       != (not equal sign) before a value to find records that doesn't match the value.

5. We can use comma [,] operator to list the records that match with either of the values in the List tab. It acts as OR operator.
For example, Typing WPPR,COMP in the status field will retrieve all records that are in status WAPPR or COMP.




 

Wednesday, November 6, 2013

Invalid Characters in MIF data load

MIF loading framework is XML-based, thus when loading flat data the first step taken by the framework is to convert the flat structure to a hierarchical XML structure.

We should be aware that some of the invalid characters [ < ,  > , ' , &, "] need to be avoided in flat file.
If you place a character like "<" inside an XML element, it will generate an error because the parser interprets it as the start of a new element.
When these characters are used in the flat file, we need to replace them with the entity references.
&lt;         <    less than
&gt;        >    greater than
&amp;    &    ampersand
&apos;    '    apostrophe
&quot;    "    quotation mark


Incorrect Data: "Multiple Assets & Locations"
Correct Data: "Multiple Assets &amp; Locations"


http://www.w3schools.com/xml/xml_syntax.asp
http://goo.gl/tyuncl