Daniel W. Graham writes: > Great idea! It returned a '1'. > > if (!lookup("location")) { > > xlogl("L_INFO", "$ci : Location not found for $rU\n"); > > $var(rc) = $rc; > > xlog $rc to see what value it has. where did you put xlog? note that setting of $var(rc) should be done immediate after lookup. otherwise it is $rc of xlog. -- juha