![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
|
||||
|
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. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|