57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
# $RCSfile: ReadMe.txt,v $
|
|
# $Revision: 1.3 $
|
|
# $Name: $
|
|
# $Date: 2002/05/03 17:23:49 $
|
|
# $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).
|
|
|
|
- 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
|