The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Running scripts in parallel nivas Shell Programming and Scripting 6 02-21-2008 05:44 AM
Running scripts from home mastachef UNIX for Dummies Questions & Answers 2 12-07-2007 06:51 PM
running multiple scripts nvuradi Shell Programming and Scripting 3 08-13-2007 09:53 AM
scripts running under different users csnewbie UNIX for Dummies Questions & Answers 1 02-14-2007 04:52 PM
Running scripts parallely santho UNIX for Dummies Questions & Answers 4 07-23-2006 12:42 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 07-17-2006
anwarsait anwarsait is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 1
Running three scripts parallelly

Hi All,

We have three shell script batch, which extract data from three different systems(oracle, db2, db2/400).

By running each shell script batch, the data is extracted from respective systems. while the batch is running, job date, system_name, start_date and end_date will be inserted into a common staging database for each shell script batch.

we are facing some technical problem while executing the three shell scripts parallelly. we use data stage ETL tool to run the three shell script batch in parallel.

while running parallel, the three rows should be inserted into staging database table for respective source system. but one or two rows only getting inserted into staging table. some times Shell script gets failed while executing the sql script(which insert the above mentioned data to staging table) within the batch. even there is no dependency between the three shell scripts

If we run the batch one after other, we are not facing any issues.

i m very much thankful, if i could get a solution from this forum.

thankz & regards
Anwar
  #2 (permalink)  
Old 07-18-2006
matrixmadhan matrixmadhan is online now Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,952
my reply may not be that useful, just a pointer to ur problem.

since all the 3 scripts are inserting into a common table, there is possibility that the insertion is being failed due to implicit locking of table while inserting a row.
Have you checked for the return status of the insertion, that would have been a great pointer to proceed with.

If the problem has been downsized due to locking of table simultaneously and insertion failing due to that, then increase the lock time wait period.

hope this helps.
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 01:58 PM.


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