[root@linux instance]# su - db2das
-sh-3.2$ db2ilist
-sh: db2ilist: command not found
-sh-3.2$ ./das/dasprofile
-sh-3.2$ db2ilist
-sh: db2ilist: command not found
-sh-3.2$ db2admin start
-sh: db2admin: command not found
把instance下面的. ~/sqllib/db2profile 添加到到das的.profile里,如:
# The following three lines have been added by UDB DB2.
if [ -f /home/db2inst1//sqllib/db2profile ]; then
. /home/db2inst1//sqllib/db2profile
fi