Thursday, December 18, 2008

Create WebSphere Variable

AdminTask.setVariable('[-variableName testname -variableValue testvalue -scope Cell=testCell01,Node=testNode01]')

AdminConfig.save()

1 comment:

Adam Smith said...

Given syntax is wrong correct one is:

AdminTask.setVariable(['-variableName', 'APICOMMON', '-variableValue', 'c:/myWebSphereVariablePath', '-scope', 'Cell=was61host00Cell01'])