DTKORNSHELL is used to specify the install location of dtksh on your system, preventing hardcoding of /usr/dt/bin/dtksh in Shebang lines and such.