Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 17 Jan 2006 @ 14:07:06 GMT


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


Subj:   STL on NCR
 
From:   radha

Hi All ,

I am encountering some issues when trying to use map inside an UDF in a NCR machine.

Following is the sample code

     #include 
     #include 
     #include 

     map  > Ins;

     extern "C" void sstr1(VARCHAR_LATIN *arg, CHARACTER_LATIN *result,
      char sqlstate[])
     {
       memset(result,0,10);
       memcpy(result,"result",6);
       return;
     }

When compiling the UDF with the shared object session got hanged up and connection is getting restarted.

But the same is working on WIN2K machine as well as a standalone application on NCR.

Any help in this regrad is highly appreciated.


Thanks & Regards

Radha Giripragada
Valyd Inc.



     
  <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