After execution of this code , X value will be 5 only .
because you have moved the value into variable X.
one more thing how it will be changed ?
because you are searching 03 value in array ARY,05 .
The value ov ARY,5 is 04 .
If LOKUP is successful then indicator 30 will become on.
Is this you are expecting ?