2002-03-18 10:24:46 +01:00
|
|
|
# $RCSfile: ReadMe.txt,v $
|
2002-04-23 20:04:38 +02:00
|
|
|
# $Revision: 1.2 $
|
2002-03-18 10:24:46 +01:00
|
|
|
# $Name: $
|
2002-04-23 20:04:38 +02:00
|
|
|
# $Date: 2002/04/23 18:04:38 $
|
2002-03-18 10:24:46 +01:00
|
|
|
# $Author: giberta1 $
|
2002-04-23 20:04:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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".
|
|
|
|
|
|
|
|
- By default Message break is "\r\n".
|
|
|
|
|
|
|
|
- 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" queu 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
|
|
|
|
|