The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with shell script execution anju Shell Programming and Scripting 2 05-08-2008 02:50 AM
Sequential execution in shell script? chengwei UNIX for Dummies Questions & Answers 6 03-30-2007 01:10 AM
execution of shell script malaymaru Shell Programming and Scripting 5 06-13-2005 10:49 AM
logging in Shell script laila63 Shell Programming and Scripting 3 07-16-2004 06:50 PM
shell script error logging niamh UNIX for Dummies Questions & Answers 1 04-05-2004 12:17 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-16-2006
npn npn is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 14
Question Logging OWB mapping execution in Shell script

Hi,

I am executing a OWB mapping from a shell script like this

$OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," ","

I want to log this mapping execution process into a file.

Please let me know if this will work:
$OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," "," >> LOGFIL.log

I will just be using this log file to track all the execution and use it for logging purpose.

If this wont work, please tell me the proper way to do this...

Thanks.
  #2 (permalink)  
Old 11-16-2006
aigles's Avatar
aigles aigles is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,433
The syntax is correct: stdout is logged into the file (append mode) but not stderr.

To log stdout and stderr :

Code:
$OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," "," >> LOGFIL.log 2>&1

Jean-Pierre.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0