Compare commits
15 Commits
mqsload-1_
...
ffb13ee948
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ffb13ee948 | ||
|
|
542f5b9bd6 | ||
|
|
bc2254cab8 | ||
|
|
f12bcae985 | ||
|
|
67b4a7aa8b | ||
|
|
99d17a844e | ||
|
|
ded4a3926f | ||
|
|
d882d2a6a1 | ||
|
|
2c55f4ac61 | ||
|
|
d327c3e4e9 | ||
|
|
15b8cece80 | ||
|
|
20cc7fc471 | ||
|
|
402f904383 | ||
|
|
f3b64d8cc5 | ||
|
|
c03202827e |
1294
MQSLoad.java
1294
MQSLoad.java
File diff suppressed because it is too large
Load Diff
11
ReadMe.txt
11
ReadMe.txt
@@ -1,8 +1,8 @@
|
|||||||
# $RCSfile: ReadMe.txt,v $
|
# $RCSfile: ReadMe.txt,v $
|
||||||
# $Revision: 1.6 $
|
# $Revision: 1.8 $
|
||||||
# $Name: $
|
# $Name: $
|
||||||
# $Date: 2002/05/02 17:24:15 $
|
# $Date: 2007/12/11 16:46:37 $
|
||||||
# $Author: giberta1 $
|
# $Author: agibert $
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ Installation:
|
|||||||
Notes:
|
Notes:
|
||||||
------
|
------
|
||||||
|
|
||||||
- MQSLoad has been tested with MQ/Series 5.2,
|
- MQSLoad has been tested with MQ/Series 5.2, 5.3 and WMQ 6.0
|
||||||
|
|
||||||
- "-fb" and "-mb" arguments accept a string with formated escape character:
|
- "-fb" and "-mb" arguments accept a string with formated escape character:
|
||||||
+ "\n" for newline,
|
+ "\n" for newline,
|
||||||
@@ -34,6 +34,7 @@ Notes:
|
|||||||
|
|
||||||
- Message breaks are used for message separation in the batch file,
|
- Message breaks are used for message separation in the batch file,
|
||||||
- Message breaks are striped from the sended message if "-kmb" (keep message break) is not set,
|
- Message breaks are striped from the sended message if "-kmb" (keep message break) is not set,
|
||||||
|
- Message tail specified after "-mt" option is inserted between message and message break,
|
||||||
- Field breaks are striped from the sended message.
|
- Field breaks are striped from the sended message.
|
||||||
|
|
||||||
- Windows text files: newline is specified as "\r\n",
|
- Windows text files: newline is specified as "\r\n",
|
||||||
@@ -55,5 +56,7 @@ Usage Examples:
|
|||||||
java MQSLoad -mb "---MESSAGE-BREAK---\r\n" SWIFT-QUEUE swift-batch.txt
|
java MQSLoad -mb "---MESSAGE-BREAK---\r\n" SWIFT-QUEUE swift-batch.txt
|
||||||
- To load a raw swift batch file "swift-batch-raw.txt" with "}\r\n" message break into the MQ/Series "SWIFT-QUEUE" and by keeping message break separator use:
|
- To load a raw swift batch file "swift-batch-raw.txt" with "}\r\n" message break into the MQ/Series "SWIFT-QUEUE" and by keeping message break separator use:
|
||||||
java MQSLoad -mb "}\r\n" -kmb SWIFT-QUEUE swift-batch-raw.txt
|
java MQSLoad -mb "}\r\n" -kmb SWIFT-QUEUE swift-batch-raw.txt
|
||||||
|
- To load a raw swift batch file "swift-batch-raw.txt" with "}\r\n" message break into the MQ/Series "SWIFT-QUEUE" and by keeping only "}" as end of message use:
|
||||||
|
java MQSLoad -mb "}\r\n" -mt "}" SWIFT-QUEUE swift-batch-raw.txt
|
||||||
- To load a csv batch file "batch.csv" with ";" field separator into the MQ/Series "DATA-QUEUE" use:
|
- 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
|
java MQSLoad -fb ";" DATA-QUEUE csv-batch.csv
|
||||||
|
|||||||
@@ -1,15 +1,71 @@
|
|||||||
# $RCSfile: ReleaseNotes.txt,v $
|
# $RCSfile: ReleaseNotes.txt,v $
|
||||||
# $Revision: 1.4 $
|
# $Revision: 1.12 $
|
||||||
# $Name: $
|
# $Name: $
|
||||||
# $Date: 2002/05/06 09:57:19 $
|
# $Date: 2008/12/04 10:45:06 $
|
||||||
# $Author: giberta1 $
|
# $Author: agibert $
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
MQSLoad V 1.1.2 - A. Gibert - 06/05/02
|
MQSLoad V 2.0.0 - A. Gibert - 2008/12/03
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Major code cleanup,
|
||||||
|
- Add message skip option "-ms",
|
||||||
|
- Add message count option "-mc",
|
||||||
|
- Add repeat count option "-rc",
|
||||||
|
- Fix Java 1.4 compatibility.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
MQSLoad V 1.3.2 - A. Gibert - 2008/11/14
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- WARNING: Fix a big bug in Load_File() method: all previous MQSLoad versions
|
||||||
|
can corrupt messages during loading !!!
|
||||||
|
- Fix elapsed time computation !
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
MQSLoad V 1.3.1 - A. Gibert - 2008/01/03
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Fix usage print out.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
MQSLoad V 1.3.0 - C. Colin / A. Gibert - 2007/12/10
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Add sleep time option "-st".
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
MQSLoad V 1.2.0 - A. Gibert - 2007/06/05
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Add queue manager name option "-qm".
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
MQSLoad V 1.1.4 - A. Gibert - 2002/05/21
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Add message tail option "-mt",
|
||||||
|
Add MQQueueManager() auto retry,
|
||||||
|
Add version, date and author print out.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
MQSLoad V 1.1.2 - A. Gibert - 2002/05/06
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Add return code handling.
|
Add return code handling.
|
||||||
@@ -17,7 +73,7 @@ Add return code handling.
|
|||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
MQSLoad V 1.1.1 - A. Gibert - 02/05/02
|
MQSLoad V 1.1.1 - A. Gibert - 2002/05/02
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Add Keep Message Break support,
|
Add Keep Message Break support,
|
||||||
@@ -26,7 +82,7 @@ Add -kmb option.
|
|||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
MQSLoad V 1.1.0 - A. Gibert - 23/04/02
|
MQSLoad V 1.1.0 - A. Gibert - 2002/04/23
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Add string field break and string message break support,
|
Add string field break and string message break support,
|
||||||
@@ -41,7 +97,7 @@ Add GPL and FDL licenses files.
|
|||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
MQSLoad V 1.0.0 - A. Gibert - 12/07/01
|
MQSLoad V 1.0.0 - A. Gibert - 2001/07/12
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
First release,
|
First release,
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ MAROC
|
|||||||
:71A:BEN
|
:71A:BEN
|
||||||
-}{5:{MAC:BCED2F18}{CHK:075B64FB4533}}
|
-}{5:{MAC:BCED2F18}{CHK:075B64FB4533}}
|
||||||
---MESSAGE-BREAK---
|
---MESSAGE-BREAK---
|
||||||
SWIFTABORT
|
SWIFTERROR
|
||||||
---MESSAGE-BREAK---
|
---MESSAGE-BREAK---
|
||||||
SWIFTBEGIN
|
SWIFTBEGIN
|
||||||
---MESSAGE-BREAK---
|
---MESSAGE-BREAK---
|
||||||
|
|||||||
Reference in New Issue
Block a user