Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 10 Feb 2005 @ 12:59:52 GMT


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


Subj:   Re: MVS TDP0 connection failure - capturing in a JCL
 
From:   David Wellman

I can't remember the exact error code (you could look in the Messages manual under the "CLI-Messages" section) but you could take almost any non-zero return code from the logon command after you ignore the obvious ones like (user not authorized, invalid/expired password etc).

Once you know what error code you're looking for, you can use that error code as the return code from a Bteq script - use the ".QUIT;" command by itself and Bteq will pass the last error code back to the operating system. This can then be trapped in the next JCL step using the COND syntax.


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