Fix usage print out.
This commit is contained in:
parent
d46511d384
commit
7bc0510954
16
MQSSave.java
16
MQSSave.java
@ -1,7 +1,7 @@
|
||||
// $RCSfile: MQSSave.java,v $
|
||||
// $Revision: 1.13 $
|
||||
// $Revision: 1.14 $
|
||||
// $Name: $
|
||||
// $Date: 2007/12/11 16:50:50 $
|
||||
// $Date: 2008/01/03 13:46:01 $
|
||||
// $Author: agibert $
|
||||
|
||||
/*
|
||||
@ -47,9 +47,9 @@ public class MQSSave
|
||||
private boolean Trim_Mode = false;
|
||||
private boolean MBTrailer_Mode = false;
|
||||
private int Total_Nb = 0, Moved_Nb = 0, Skiped_Nb = 0, Scaned_Nb = 0, Flushed_Nb = 0;
|
||||
private String MQSSave_Revision = "$Revision: 1.13 $";
|
||||
private String MQSSave_Revision = "$Revision: 1.14 $";
|
||||
private String MQSSave_Tag = "$Name: $";
|
||||
private String MQSSave_Date = "$Date: 2007/12/11 16:50:50 $";
|
||||
private String MQSSave_Date = "$Date: 2008/01/03 13:46:01 $";
|
||||
private String MQSSave_Author = "$Author: agibert $";
|
||||
private Integer Sleep_Time = 0;
|
||||
|
||||
@ -850,8 +850,8 @@ public class MQSSave
|
||||
|
||||
if( ( args.length < 2) || ( args.length > 7))
|
||||
{
|
||||
System.out.println( "Usage: MQSSave [-qm \"Input_QueueMng_Name\"] [-mb \"message_break\"] [-tisbm [-ffn <Flush_File_Name>] | -cm ] [-tm] [-mbtm] <Output_File_Name> <Input_MsgQueue_Name>");
|
||||
System.out.println( " Default: Input QueueMng Name: (" + QMng_Name + ") Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Copy Mode: (" + Copy_Mode + ") Flush File Name: (" + Flush_File_Name + ") Sleep Time: (" + Sleep_Time + ") Trim Mode: (" + Trim_Mode + ") MsgBreak Trailer Mode: (" + MBTrailer_Mode + ")");
|
||||
System.out.println( "Usage: MQSSave [-qm \"Input_QueueMng_Name\"] [-st \"sleep_time\"] [-mb \"message_break\"] [-tisbm [-ffn <Flush_File_Name>] | -cm ] [-tm] [-mbtm] <Output_File_Name> <Input_MsgQueue_Name>");
|
||||
System.out.println( " Default: Input QueueMng Name: (" + QMng_Name + ") Sleep Time: (" + Sleep_Time + ") Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Copy Mode: (" + Copy_Mode + ") Flush File Name: (" + Flush_File_Name + ") Trim Mode: (" + Trim_Mode + ") MsgBreak Trailer Mode: (" + MBTrailer_Mode + ")");
|
||||
|
||||
System.exit( 1);
|
||||
}
|
||||
@ -861,8 +861,8 @@ public class MQSSave
|
||||
|
||||
Arg_Parse( args);
|
||||
|
||||
System.out.println( "Output File Name: (" + Output_File_Name + ") Input QueueMng Name: (" + QMng_Name + ") Input MsgQue Name: (" + MsgQ_Name + ") Flush File Name: (" + Flush_File_Name + ") Sleep Time: (" + Sleep_Time + ")");
|
||||
System.out.println( "Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Copy Mode: (" + Copy_Mode + ") Trim Mode: (" + Trim_Mode + ") MsgBreak Trailer Mode: (" + MBTrailer_Mode + ")");
|
||||
System.out.println( "Output File Name: (" + Output_File_Name + ") Input QueueMng Name: (" + QMng_Name + ") Input MsgQue Name: (" + MsgQ_Name + ") Flush File Name: (" + Flush_File_Name + ")");
|
||||
System.out.println( "Sleep Time: (" + Sleep_Time + ") Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Copy Mode: (" + Copy_Mode + ") Trim Mode: (" + Trim_Mode + ") MsgBreak Trailer Mode: (" + MBTrailer_Mode + ")");
|
||||
|
||||
MQSInit();
|
||||
|
||||
|
@ -1,13 +1,21 @@
|
||||
# $RCSfile: ReleaseNotes.txt,v $
|
||||
# $Revision: 1.10 $
|
||||
# $Revision: 1.11 $
|
||||
# $Name: $
|
||||
# $Date: 2007/12/11 16:50:50 $
|
||||
# $Date: 2008/01/03 13:46:01 $
|
||||
# $Author: agibert $
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
MQSSave V 1.3.1 - A. Gibert - 2008/01/03
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Fix usage print out.
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
MQSSave V 1.3.0 - C. Colin / A. Gibert - 2007/12/10
|
||||
--------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user