dbTalk Databases Forums  

utl_tcp reply from server

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss utl_tcp reply from server in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ginko
 
Posts: n/a

Default utl_tcp reply from server - 05-04-2006 , 07:04 AM






Hi ,

I have a problem with the reply from the server using utl_tcp.
Everything works fine but I can't store the reply into a variable.


the reply from the server is : ACK or NACK


code :


.....


o_ok := utl_tcp.GET_LINE(c,true);


dbms_output.put_line(o_ok); --> this output is always "OK"


dbms_output.put_line(utl_tcp.get_line(c,true)); -->
this out put is the reply from the server "ACK or NACK"



How can I put the reply from the server
(dbms_output.put_line(utl_tcp.get_line(c,true)); )
in the variable o_ok?


Thx


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.