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 > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > suppress the messages in log file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-28-08, 08:44
P_db_user P_db_user is offline
Registered User
 
Join Date: Jul 2008
Posts: 14
suppress the messages in log file

Hi All,

I am using dbaccess utility to connect to informix from shell scripts. Below is the code that i use.

dbaccess $DB_NAME $SQL_FILE >$TMP_FILE 2>>$LOG_FILE

When I executed the above script, It is executing perfectly. No problem in that but i am getting the below lines being written to the log files.

Database selected.


2 row(s) unloaded.


Database closed.


I would like to know a way to suppress the above lines from being written into the log files. This is a very urgent requirement. Any of your solution is highly appreciatable.

Thanks in advance,
p_db_user
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