if
(
not exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt"
)
then "<no dsm opt>" else if
(
not exists line whose
(
it as uppercase contains "TCPSERVERADDRESS"
)
of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt"
)
then "<no tcpserveraddress>" else
(
following text of first "TCPSERVERADDRESS" of
(
it as uppercase
)
of line whose
(
(
if it does not contain "*" then it else preceding text of first "*" of it
)
as uppercase contains "TCPSERVERADDRESS"
)
of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt" as trimmed string
)
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") then "<no dsm opt>" else if(not exists line whose(it as uppercase contains "TCPSERVERADDRESS") of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") then "<no tcpserveraddress>" else ( following text of first "TCPSERVERADDRESS" of (it as uppercase) of line whose( ( if it does not contain "*" then it else preceding text of first "*" of it) as uppercase contains "TCPSERVERADDRESS" ) of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt" as trimmed string)