Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 11 Jan 2001 @ 11:20:58 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Running Bteq through Cron
 
From:   David Wellman

Jaswant,

I think you've hit a couple of problems here.

For now, ignore the 117 error. I'm not certain, but I think it'll go away when you solve the real error (you may want to chase this later).

I think the 224 is your real problem, which means that the tdpid that you've passed to cli can't be found in the hosts file. Given that you can run the same script directly, this may come down to paths etc. Is the Logon statement coded directly in your script or is it being executed via a .RUN command? If it's the latter then what is the current path when cron runs the job? I haven't really used cron much - can you change it's default path? It looks like you're using a .RUN command, which is picking up a different file when using cron (due to current path's etc) and the one your picking up refers to a tdpid which is not in your hosts file.

Try checking that and see what happens.


Cheers,

Dave



     
  <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