![](//teradataforum.com/imgs/ptdfw1.gif) |
![](//teradataforum.com/imgs/ptdfw2.gif) |
Archives of the TeradataForum
Message Posted: Thu, 25 Jul 2002 @ 18:16:04 GMT
Subj: | | Re: Typeset question |
|
From: | | Geoffrey Rommel |
| I'm writing a shell script for a process on my AP-node. I am trying to use a typeset command like the following: | |
| This returns the following error: | |
| UX:sh (test): ERROR: typeset: not found | |
You will observe that the program reporting this error is "sh", not "ksh". When you run a shell script, it is run by the Bourne
shell (sh) unless you direct it otherwise. Add the following line to the top of your script:
#!/bin/ksh
and it will work.
--wgr
| |