if (not defined($pname) and $pname eq '' && defined($policy_ur) and $policy_ur eq '' and not defined($odate) && $odate eq'') {