This week's book giveaway is in the JDBC and Relational Databases forum. We're giving away four copies of Resilient Oracle PL/SQL: Building Resilient Database Solutions for Continuous Operation and have Stephen Morris on-line! See this thread for details.
I've a Unix shell script that calls multiple (4) java programs. It should call a java program in the sequence only if the provious program was successful.(ie program 2 should be called only if program 1 was successful).
To add to what Tom said, in Unix it is traditional to exit with a zero to indicate success. Any other value indicates some sort of error occured. In some programs the exit value tells you which error occured.
<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.