Monday, October 26, 2015

How to create a demo database by Scripts

بسم الله الرحمن الرحيم

In Sometimes , you need to ckeek the default functionality Of maximo or new product based on maximo, you can do this by the demo data which provided By IBM 


In this post I'm going to show you how to install this demo data by scripts 

 from your maximo's workstation run maxinst.bat in windows CMD
1- open windows CMD then change directory to <SMP Directory>\maximo\tools\maximo


2- then run maxinst.bat , this patch will need a two parameters as modatery 
 a -t <tablespace name>
 b -s<tablespace name>
and optionall you can create an epmty Database from demo data by this pramter  -imaximo 

3- make sure that maximo.properties in SMP have a correct database's URL and the MXServer Stoped.
 

 
   4- press enter then wait unitle the process is copmlete.

NOTE : you maybay find error like following :


 simply copy the content of C:\IBM\SMP\maximo\tools\maximo\en\maxdemo.db2 to C:\IBM\SMP\maximo\tools\maximo\en
then run againe