Data starting from 6th position in MRE-LICENSE-STATUS is ACTIVE then do something.
I see no loop in this code. .where does the loop go?
If none of the conditions are met, the ELSE is executed. You need to pay attention to the parentheses.Go to else condition if MRE-LICENSE-STATUS is not any one of these
If you perform the proper testing, you will learn what you want to know.Suggest you take this bit of code and isolate it into a separate module and very thoroughly test it for all conditons. Your input for testing can be data in a DD * dataset to easily create test data for all cases.
Also repeating:where does the control go???
If none of the conditions are met, the ELSE is executed. You need to pay attention to the parentheses.