def METHOD_NAME(rh):
    """
    Perform the requested function by invoking the subfunction handler.
    Input:
       Request Handle
    Output:
       Request Handle updated with parsed input.
       Return code - 0: ok, non-zero: error
    """
    rh.printSysLog("Enter smapi.doIt")
    # Show the invocation parameters, if requested.
    if 'showParms' in rh.parms and rh.parms['showParms']:
        rh.printLn("N", "Invocation parameters: ")
        rh.printLn("N", "  Routine: smapi." +
            str(subfuncHandler[rh.subfunction][0]) + "(reqHandle)")
        rh.printLn("N", "  function: " + rh.function)
        rh.printLn("N", "  userid: " + rh.userid)
        rh.printLn("N", "  subfunction: " + rh.subfunction)
        rh.printLn("N", "  parms{}: ")
        for key in rh.parms:
            if key != 'showParms':
                rh.printLn("N", "    " + key + ": " + str(rh.parms[key]))
        rh.printLn("N", " ")
    # Call the subfunction handler
    subfuncHandler[rh.subfunction][1](rh)
    rh.printSysLog("Exit smapi.doIt, rc: " + str(rh.results['overallRC']))
    return rh.results['overallRC']