Skip to Content
0
Former Member
Dec 29, 2011 at 02:37 AM

How to set environment on the AIX for SAP

4683 Views

Hi,all

I'm a question on set env on AIX for SAP, because I need use the stopsap command to restart the sap service,but when I run stopsap use <sid>adm user, shell remained me "not found the command", so I set the env through

export saprun=/usr/sap/DY1/SYS/exe/run

export PATH=$PATH:$saprun

set the Path variable.It works. But after a long time when I use env to view the environment variable, the path is dispear.

what's the reason?

anyone can help me?

the question 2:

if I want to add a environment variable KRB5_KTNAME and user this variable to location of the position, what should I do?