Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 13 Sep 2005 @ 20:35:18 GMT


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


Subj:   Re: Operating system of Remote Login Teradata Database
 
From:   Calkins, Dennis

If you need to know which OS The Teradata Database Server is running on Teradata Engineering isn't doing something correct.

Teradata is Teradata is Teradata. you shouldn't need to know if you are using the standard API interfaces to the Database Server.

With Possibly one exception. (or 2 if you include sw_event_log as Mike pointed out).

If you are trying to Compile a UDF which uses OS specific calls (allowed in 6.x) and you need to know which OS you are running on so you know which version of your UDF to install.

Instead of Multiple versions of your UDF I would suggest IFDEFS in the code.

     #if defined(_MSC_VER)
          windows code
     #else    // UNIX
     #ifdef __linux__
          linux code
     #else
          mpras code
     #endif
     #endif

That way you only need to have one version of your UDF and it would work on all of the Teradata Server Platforms



     
  <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