Hello Sam,
SECUDIR="/usr/sap/users/sodadm/sec" (from HOME)
please add the startprofile(s) SETENV_03 = SECUDIR=$(DIR_INSTANCE)/sec
Note: if you do not have start profile then to instance profile SETENV_XX depends on how many SETENV have you in your profile parameter.
Best Regards
Zsolt