Regarding submode in yang

Thanks Cohult . This I had achieved somehow .

Can some one pls reply on this topic

I am stuck in this .