2002-03-18 10:24:46 +01:00
# $RCSfile: ReadMe.txt,v $
2007-12-11 17:50:50 +01:00
# $Revision: 1.5 $
2002-03-18 10:24:46 +01:00
# $Name: $
2007-12-11 17:50:50 +01:00
# $Date: 2007/12/11 16:50:50 $
# $Author: agibert $
2002-04-23 20:04:38 +02:00
Compilation:
------------
- Just type: "javac MQSSave.java" !
Installation:
-------------
- You only need the MQSSave.class file.
Notes:
------
2007-12-11 17:50:50 +01:00
- MQSSave has been tested with MQ/Series 5.2, 5.2, 5.3 and WMQ 6.0.
2002-04-23 20:04:38 +02:00
- "-mb" argument accept a string with formated escape character:
+ "\n" for newline,
+ "\r" for return,
+ "\t" for tabulation,
+ "\\" for \.
- Message break is used for message separator the batch file.
- Windows text files: newline is specified as "\r\n",
- Unix text files: newline is specified as "\n".
2002-05-03 19:23:49 +02:00
- The Flush File is only used when TI Swift Batch Mode is enabled (by setting "-tisbm" command line switch).
2002-05-21 18:07:17 +02:00
- When trim mode is enabled (by setting "-tm" command line switch), all the trailing spaces are removed.
2002-05-03 19:23:49 +02:00
- By default Message break is "\r\n",
- By default Flush File Name is "flush.txt".
2002-04-23 20:04:38 +02:00
- This software is under the GNU General Public License. See GNU-GPL.txt.
Usage Example:
---------------
2002-05-03 19:23:49 +02:00
- To save the messages of the MQ/Series "SWIFT-QUEUE" queue into a swift batch file "swift-batch.txt" with "---MESSAGE-BREAK---" message separator use:
2002-04-23 20:04:38 +02:00
java MQSSave -mb "---MESSAGE-BREAK---\r\n" swift-batch.txt SWIFT-QUEUE
2002-05-03 19:23:49 +02:00
- To save the messages of the MQ/Series "SWIFT-QUEUE" queue into a swift batch file "swift-batch.txt" with no message break message and by using the TI Swift Batch Mode, use:
java MQSSave -mb "" -tisbm swift-batch.txt SWIFT-QUEUE