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 "NODENAME "
)
of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt"
)
then "<no nodename>" else
(
concatenation " " of substrings separated by " " whose
(
it != ""
)
of following text of first "NODENAME " of
(
it as uppercase
)
of line whose
(
(
if it does not contain "*" then it else preceding text of first "*" of it
)
as uppercase contains "NODENAME "
)
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 "NODENAME ") of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") then "<no nodename>" else (concatenation " " of substrings separated by " " whose (it != "") of following text of first "NODENAME " of (it as uppercase) of line whose(( if it does not contain "*" then it else preceding text of first "*" of it) as uppercase contains "NODENAME ") of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt" as trimmed string)