Hello and welcome to the forum,
If any one have the same rexx script please share or guide me to achive this rexx script.
I have not yet seen one that will work 100% of the time. If someone builds one, it will probably not be provided for free. Keep in mind that just because a variable name is not found in the code, does NOT mean it is not used. . . There are considerations about things that are in copy members, include members and the like that this "parser" will not know about. . .
Who in your organization is willing to spend the $ for this to be developed?
Suggest the time would be much better spent on other efforts.