From 0ffc88e129dd544cfb8be7f2669d1813e31cb434 Mon Sep 17 00:00:00 2001 From: giberta1 Date: Mon, 6 May 2002 09:52:24 +0000 Subject: [PATCH] Add System.exit() handling. --- MQSLoad.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/MQSLoad.java b/MQSLoad.java index 4c34772..00ea1d3 100644 --- a/MQSLoad.java +++ b/MQSLoad.java @@ -1,7 +1,7 @@ // $RCSfile: MQSLoad.java,v $ -// $Revision: 1.5 $ +// $Revision: 1.6 $ // $Name: $ -// $Date: 2002/05/02 17:09:35 $ +// $Date: 2002/05/06 09:52:24 $ // $Author: giberta1 $ /* @@ -510,6 +510,8 @@ public class MQSLoad { System.out.println( "Usage: MQSLoad [-fb \"field_break\"] [-mb \"message_break\"] [-kmb] "); System.out.println( " Default: Field Break: (" + Str_UnFormat( Field_Break) + ") Message Break: (" + Str_UnFormat( Message_Break) + ") Keep Message Break: (" + Keep_Message_Break + ")"); + + System.exit( 1); } else { @@ -563,6 +565,8 @@ public class MQSLoad MQSDeInit(); System.out.println( "MQS Load Completed !"); + + System.exit( 0); } } @@ -570,6 +574,8 @@ public class MQSLoad { System.out.println("Exception: (" + Expt + ") !"); Expt.printStackTrace(); + + System.exit( 1); } } }