mqssave/ReadMe.txt
2007-12-11 16:50:50 +00:00

59 lines
1.5 KiB
Plaintext

# $RCSfile: ReadMe.txt,v $
# $Revision: 1.5 $
# $Name: $
# $Date: 2007/12/11 16:50:50 $
# $Author: agibert $
Compilation:
------------
- Just type: "javac MQSSave.java" !
Installation:
-------------
- You only need the MQSSave.class file.
Notes:
------
- MQSSave has been tested with MQ/Series 5.2, 5.2, 5.3 and WMQ 6.0.
- "-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