Home Page for the TeradataForum
 

Archives of the TeradataForum

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


     
  <Prev Next>  
<<First
<Prev
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

$ $PATH
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:

----------------------------------------------------
USERS PROFILE BELOW
----------------------------------------------------

MAIL=/usr/mail/${LOGNAME:?}
set -o vi
PATH=/data0/prod/lny/fix:/data0/prod/lny/custom:/prod/fix:/prod/scripts:
/dat
a0/prod/lny:$PATH
ODBCINI=/data0/prod/lny/odbc.ini
export ODBCINI
export PATH

TERM=vt100
export TERM

ENVR=PROD
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>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023