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
(
it as uppercase contains "NODENAME "
)
of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt" as 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(it as uppercase contains "NODENAME ") of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt" as string)