I think what he is really looking for is something like:
select
case ingroup("POLLER_1")
set "PRCPATH=$path1"
case ingroup("POLLER_2")
set "PRCPATH=$path2"
case ingroup("POLLER_3")
set "PRCPATH=$path3"
endselect
_________________________
How to ask questions the smart way <-----------> Before you ask