These example scripts provide an alternative to using the administrative console.
To run the command, use the AdminTask object of the wsadmin scripting client.
Perform the following steps to modify the attributes of a message store:
Using Jacl:
set mengines [$AdminConfig list SIBMessagingEngine]
mengines = AdminConfig.list('SIBMessagingEngine')
set me1 [lindex $mengines 0]
arraymengines = mengines.split(lineSeparator) me1 = arraymengines[0]
set fs [$AdminConfig showAttribute $me1 fileStore]
fs = AdminConfig.showAttribute(me1, 'fileStore')
set result [$AdminConfig showAttribute $fs logSize] puts "old logSize: $result" $AdminConfig modify $fs ((logSize 200)) set result [$AdminConfig showAttribute $fs logSize] puts " " puts "new logSize: $result" puts "Saving..." $AdminConfig save
AdminConfig.modify(fs, [['logSize', '200']]) AdminConfig.showAttribute(fs, 'logSize') AdminConfig.save()