# $RCSfile: ReadMe.txt,v $
# $Revision: 1.4 $
# $Name: $
# $Date: 2002/05/21 16:07:17 $
# $Author: giberta1 $
Compilation:
------------
- Just type: "javac MQSSave.java" !
Installation:
-------------
- You only need the MQSSave.class file.
Notes:
------
- MQSSave has been tested with MQ/Series 5.2,
- "-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".
- The Flush File is only used when TI Swift Batch Mode is enabled (by setting "-tisbm" command line switch).
- When trim mode is enabled (by setting "-tm" command line switch), all the trailing spaces are removed.
- By default Message break is "\r\n",
- By default Flush File Name is "flush.txt".
- This software is under the GNU General Public License. See GNU-GPL.txt.
Usage Example:
---------------
- 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:
java MQSSave -mb "---MESSAGE-BREAK---\r\n" swift-batch.txt SWIFT-QUEUE
- 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