Go to file
2003-09-04 15:47:10 +00:00
GNU-FDL.txt Initial creation. 2002-04-23 14:33:30 +00:00
GNU-GPL.txt Initial creation. 2002-04-23 14:33:30 +00:00
MQSSave.java Add Copy Mode (-cm). 2003-09-04 15:42:41 +00:00
ReadMe.txt Add trim mode ("-tm") explanations. 2002-05-21 16:07:17 +00:00
ReleaseNotes.txt Add 1.1.5 entry. 2003-09-04 15:47:10 +00:00
ToDo.txt Add documentation need. 2002-04-23 16:26:08 +00:00

# $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