Actually I am writing PIG Script and want to execute some set of statements if one of the condition is satisfied.
I have set one variable and checking for some value
Pig is data flow language not control flow. Only construct which comes close is PIG split, but it is very limited.
You can use oozie and its decision construct with two pig scripts.