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
Difference between calling the sub scripts kingganesh04 Shell Programming and Scripting 4 12-17-2008 12:52 AM
Issue calling scripts through CRON. vskr72 Shell Programming and Scripting 5 01-07-2008 08:12 PM
any possible solution on sql calling scripts manas_ranjan Shell Programming and Scripting 4 11-22-2007 06:02 AM
Calling functions in scripts directly LiquidChild Shell Programming and Scripting 12 04-27-2007 06:28 AM
Calling SQL scripts through Shell Script madhunk Shell Programming and Scripting 18 06-14-2006 12:35 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 05-08-2009
CKT_newbie88 CKT_newbie88 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 14
Calling Multiple Scripts - stops after 1

I have created a script to call 2-3 shell scripts to be execute in succession, however, it seems that after the first shell script completes, the entire script exits out.

Example:
1stJob.sh
2ndJob.sh

1st Job - FTP files from Mainframe to Unix using the following commands at the tail of the script:

quit
END_SCRIPT
exit 0

2nd Job - modifies some files using AWK - but does not get invoked.

Thanks.
  #2 (permalink)  
Old 05-08-2009
dr.house dr.house is offline
Registered User
  
 

Join Date: Dec 2008
Location: Switzerland
Posts: 227
Quote:
Originally Posted by CKT_newbie88 View Post
I have created a script [...]
Show us the code (please ...)!
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:20 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