Tuesday, February 3, 2015

wsadmin jython Websphere Variable creation

Below is the function you can use to create Websphere Variable at cell scope

def variableCreation():
   cellname=AdminControl.getCell()
   varName='urvarname';
   varValue='urvarvalue';
   AdminTask.setVariable('[-variableName '+varName+' -variableValue '+varValue+' -scope  Cell='+cellname+']')

No comments:

Post a Comment

Your suggestions please