Your problem is syntax related.

case $subnet = 192 or 193 or 194 or 197 ;Pacific

should be: $subnet=192 or $subnet=193 or $subnet=194 or $subnet=197

You may also want to look at CalcLogicalSubnet() in th UDF library. Using this UDF makes it easy and call kix script based on subnet. Even if you have a segment mask out as 255.255.255.128. You can get both logical subnets quickly.
_________________________
Home page: http://www.kixhelp.com/hb/