I am quite new to REXX and I am assigned to develop a rexx tool
Sigh. The rule of thumb I was taught in college classes is that writing a tool is 3 times as hard as writing an application program, and writing a compiler is 3 times as hard as writing a tool. This is assuming, of course, that the tool will be generic and usable by everyone in the applications development group at your site. How much experience do you have in writing COBOL programs?
And are you going to be checking for NEXT SENTENCE as well in your tool?