If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > how can I turn off Standard OutPut when I use INSERT INTO command in my application.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-06-06, 16:34
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
how can I turn off Standard OutPut when I use INSERT INTO command in my application.

I am working with db2v8.2.2 aix5.2

I my application (perl language) I use db2 "INSERT INTO........."

and I am going to insert 30000 rows and for every row I get message "SUCCESSFULL........" in screen, how can I turnoff that.

Thank you inadvance for your help.
Reply With Quote
  #2 (permalink)  
Old 04-06-06, 17:02
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
One option is to redirect the output to /dev/null
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 04-07-06, 08:31
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
Quote:
Originally Posted by sathyaram_s
One option is to redirect the output to /dev/null
Thank you sathyaram_s for your help, is it possible tell me other options?

Thank you again
Reply With Quote
  #4 (permalink)  
Old 04-07-06, 08:44
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Well, honestly, I haven't used Perl ... So, am unable to be of much help ...

Do you use DBI module to 'talk' with DB2 or do you do as a command line ?

Can you post an example piece of code you are trying to execute ? It will be useful if you can post a small program that can be run on its own ..

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On