2001-07-09 17:51:17 +02:00
|
|
|
# $RCSfile: ReadMe.txt,v $
|
2002-04-23 20:06:55 +02:00
|
|
|
# $Revision: 1.4 $
|
2001-07-09 17:51:17 +02:00
|
|
|
# $Name: $
|
2002-04-23 20:06:55 +02:00
|
|
|
# $Date: 2002/04/23 18:06:55 $
|
2001-07-09 17:51:17 +02:00
|
|
|
# $Author: giberta1 $
|
2002-04-23 19:13:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compilation:
|
|
|
|
------------
|
|
|
|
- Just type: "javac MQSLoad.java" !
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Installation:
|
|
|
|
-------------
|
|
|
|
|
2002-04-23 20:06:55 +02:00
|
|
|
- You only need the MQSLoad.class file.
|
2002-04-23 19:13:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
|
|
|
|
------
|
|
|
|
|
|
|
|
- MQSLoad has been tested with MQ/Series 5.2,
|
|
|
|
|
2002-04-23 19:17:14 +02:00
|
|
|
- "-fb" and "-mb" arguments accept a string with formated escape character:
|
2002-04-23 19:13:45 +02:00
|
|
|
+ "\n" for newline,
|
|
|
|
+ "\r" for return,
|
|
|
|
+ "\t" for tabulation,
|
|
|
|
+ "\\" for \.
|
|
|
|
|
|
|
|
- Message break are used for message separation in the batch file, and are striped from the sended message,
|
|
|
|
- Field are striped from the seded message.
|
|
|
|
|
|
|
|
- Windows text files: newline is specified as "\r\n",
|
|
|
|
- Unix text files: newline is specified as "\n".
|
|
|
|
|
|
|
|
- By default:
|
|
|
|
+ There is no field break,
|
|
|
|
+ Message break is "\r\n".
|
|
|
|
|
2002-04-23 19:17:14 +02:00
|
|
|
- This software is under the GNU General Public License. See GNU-GPL.txt.
|
|
|
|
|
2002-04-23 19:13:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
Usage Examples:
|
|
|
|
---------------
|
|
|
|
|
|
|
|
- To load a swift batch file "swift-batch.txt" with "---MESSAGE-BREAK---" message separator into the MQ/Series "SWIFT-QUEUE" use:
|
|
|
|
java MQSLoad -mb "---MESSAGE-BREAK---\r\n" SWIFT-QUEUE swift-batch.txt
|
|
|
|
- To load a csv batch file "batch.csv" with ";" field separator into the MQ/Series "DATA-QUEUE" use:
|
|
|
|
java MQSLoad -fb ";" DATA-QUEUE csv-batch.csv
|