In Example 1, an extraneous slash (/) appears in the path of the smpatch command. The path name shown is /usr/sadm/bin//smpatch.
Remove the extra slash in the path name of the smpatch command so that it reads /usr/sadm/bin/smpatch.