Just a small typo. But since it causes an error in your script I thought I'd report it to you.
The name of this script will be namerep.sh and will be saved in the bin folder. Make a header and add the same File and Variable assignments as in the namerecs.sh file. This is an example of reuse. Even if they are not all used, it is quicker to copy the lot than create a new entirely specific section.
Later in the article you change the name of the script to namereports.sh.
case $SEL in
1) exec $NBIN/namerecs.sh;;
2) exec $NBIN/namereports.sh;;
Then in the next version of the menu script it get's changed back to the original namerep.sh.
<edit> Nevermind, I see now that there are 2 scripts, namereports.sh and namerep.sh. That fact isn't real clear if you are a dummy like me just following along, trying to make this work.