Positional Parameters

HPUX11.0/Korn Shell
I have an old script that takes in a series of arguments when its called. The script is really more of a common set of functions that gets called by other scripts as needed. I have been asked to make this into a menu driven script to rollout to app support for their use during support calls. The script currently uses getopts to evaluate and check the arguments passed to it. I want to add at most 2 menus but I dont want to have to rewrite the getopts and checksum. The script accepts arguments in the form: -s arg, -t arg -u arg etc. Is there a way to set the positional arguments $1, $2 , $3 from within the script (after the script has been executed) so that I can just plug in the menu without a lot of rework? Trying to save some time. Thanks for any and all responses and suggestions.

execute script (no args) --> display menu --> read choice --> display usage --> accept arguments from user --> pass to getopts function that is already written --> process request.

set - parm1 parm2 parm3 ...

Thanks so much. Works just fine.