Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 12 Jun 2003 @ 11:49:43 GMT

  <Prev Next>  
Next> Last>>  

Subj:   Unix .Profile Not executed at Logon
From:   Crisafulli, Ronald

For some reason when this User logon to the NTPA node to exec a script called execute.ksh it responds with script not found. When is do an ls exec* it returns the execute.ksh When I do an ls -l script name it returns the following information which tells me its accessible to everyone:

-rwxrwxrwx 1 2000 111 17948 Jan 18 2001 execute.ksh

I'm also standing in the DIR where the script resides and it still can't find it. When I do a $PATH command I get these results

ksh: /usr/bin:/usr/sbin:/usr/ccs/bin:/etc/pipc/bin: not found

Yet when I look at the Users profile I have a different Path setup all together:


set -o vi
export ODBCINI
export PATH

export TERM

export ENVR
echo $ENVR


The execute.ksh script is a vehicle for setting up output DIR, Exporting Logon/Password/DB Global PARM and passing them to the script you really want to execute which is one of the parameters you give to execute.ksh.

Any suggestions on where to go from here would be appreciated. Thanks

Ron Crisafulli

  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020