Please help me by providing a sample automation script (jython) for retrieving the data from database table using automation script which runs in maximo/tivoli 7.5
I'm new to get those details.
hopefully this helps ... a example on how to load database information into maximo via rmi
This code is getting data from table directly
from psdi.security import UserInfo
from psdi.server import MXServer
maximo = MXServer.getMXServer()
ui = maximo.getSystemUserInfo()
sessionSet = maximo.getMboSet("MAXSESSION", ui)
sessionSet.setWhere ("issystem = '1'")
s = sessionSet.getMbo(0)
servername = s.getString("SERVERNAME")
print servername