From 49d568238e3bf9800ef367ce34e95710d3ad74c1 Mon Sep 17 00:00:00 2001 From: giberta1 Date: Mon, 13 May 2002 16:28:02 +0000 Subject: [PATCH] Rename SWIFTABORT message into SWIFTERROR, Add legend message. --- MQSSave.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/MQSSave.java b/MQSSave.java index e229216..e2e41ea 100644 --- a/MQSSave.java +++ b/MQSSave.java @@ -1,7 +1,7 @@ // $RCSfile: MQSSave.java,v $ -// $Revision: 1.5 $ +// $Revision: 1.6 $ // $Name: $ -// $Date: 2002/05/06 09:51:49 $ +// $Date: 2002/05/13 16:28:02 $ // $Author: giberta1 $ /* @@ -457,7 +457,7 @@ public class MQSSave String msg_type; final String TYPE_SWIFTBEGIN = "SWIFTBEGIN"; final String TYPE_SWIFTEND = "SWIFTEND "; - final String TYPE_SWIFTABORT = "SWIFTABORT"; + final String TYPE_SWIFTERROR = "SWIFTERROR"; final String TYPE_SWIFTOUT = "SWIFTOUT "; boolean get_first = false; boolean first_flush = true; @@ -525,7 +525,7 @@ public class MQSSave first_flush = true; } } - else if( msg_type.equals( TYPE_SWIFTEND) || msg_type.equals( TYPE_SWIFTABORT)) + else if( msg_type.equals( TYPE_SWIFTEND) || msg_type.equals( TYPE_SWIFTERROR)) { // System.out.print( "FEA "); Counter_Print( Total_Nb++, '#'); @@ -588,7 +588,7 @@ public class MQSSave get_first = true; first_scan = true; } - else if( msg_type.equals( TYPE_SWIFTABORT)) + else if( msg_type.equals( TYPE_SWIFTERROR)) { // System.out.print( "SA "); @@ -637,7 +637,7 @@ public class MQSSave mode = MODE_SCAN; get_first = true; } - else if( msg_type.equals( TYPE_SWIFTABORT)) + else if( msg_type.equals( TYPE_SWIFTERROR)) { System.out.println( "Internal error: (" + msg_type + ") found during Move!"); throw new Exception(); @@ -728,6 +728,7 @@ public class MQSSave if( TI_Swift_Batch_Mode) { + System.out.println( "Legend: .: Saved *: Flushed #: Skiped ~: Scaned"); Flush_File = new BufferedOutputStream( new FileOutputStream( Flush_File_Name)); }