rubywmq 0.3.0-i386-mswin32-mq6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/LICENSE +13 -0
  2. data/README +73 -0
  3. data/doc/classes/WMQ.html +6300 -0
  4. data/doc/classes/WMQ/Message.html +376 -0
  5. data/doc/classes/WMQ/Message.src/M000001.html +77 -0
  6. data/doc/classes/WMQ/Message.src/M000002.html +27 -0
  7. data/doc/classes/WMQ/Queue.html +1459 -0
  8. data/doc/classes/WMQ/Queue.src/M000003.html +205 -0
  9. data/doc/classes/WMQ/Queue.src/M000004.html +107 -0
  10. data/doc/classes/WMQ/Queue.src/M000005.html +198 -0
  11. data/doc/classes/WMQ/Queue.src/M000006.html +66 -0
  12. data/doc/classes/WMQ/Queue.src/M000007.html +203 -0
  13. data/doc/classes/WMQ/Queue.src/M000008.html +265 -0
  14. data/doc/classes/WMQ/Queue.src/M000009.html +120 -0
  15. data/doc/classes/WMQ/Queue.src/M000010.html +28 -0
  16. data/doc/classes/WMQ/Queue.src/M000011.html +30 -0
  17. data/doc/classes/WMQ/Queue.src/M000012.html +31 -0
  18. data/doc/classes/WMQ/Queue.src/M000013.html +31 -0
  19. data/doc/classes/WMQ/Queue.src/M000014.html +31 -0
  20. data/doc/classes/WMQ/QueueManager.html +1529 -0
  21. data/doc/classes/WMQ/QueueManager.src/M000015.html +182 -0
  22. data/doc/classes/WMQ/QueueManager.src/M000016.html +194 -0
  23. data/doc/classes/WMQ/QueueManager.src/M000017.html +92 -0
  24. data/doc/classes/WMQ/QueueManager.src/M000018.html +70 -0
  25. data/doc/classes/WMQ/QueueManager.src/M000019.html +49 -0
  26. data/doc/classes/WMQ/QueueManager.src/M000020.html +49 -0
  27. data/doc/classes/WMQ/QueueManager.src/M000021.html +63 -0
  28. data/doc/classes/WMQ/QueueManager.src/M000022.html +61 -0
  29. data/doc/classes/WMQ/QueueManager.src/M000023.html +65 -0
  30. data/doc/classes/WMQ/QueueManager.src/M000024.html +232 -0
  31. data/doc/classes/WMQ/QueueManager.src/M000025.html +30 -0
  32. data/doc/classes/WMQ/QueueManager.src/M000026.html +31 -0
  33. data/doc/classes/WMQ/QueueManager.src/M000027.html +31 -0
  34. data/doc/classes/WMQ/QueueManager.src/M000028.html +38 -0
  35. data/doc/classes/WMQ/QueueManager.src/M000029.html +33 -0
  36. data/doc/classes/WMQ/QueueManager.src/M000030.html +21 -0
  37. data/doc/classes/WMQ/QueueManager.src/M000031.html +284 -0
  38. data/doc/classes/WMQ/QueueManager.src/M000032.html +24 -0
  39. data/doc/classes/WMQ/QueueManager.src/M000033.html +18 -0
  40. data/doc/classes/WMQ/QueueManager.src/M000034.html +46 -0
  41. data/doc/classes/WMQ/QueueManager.src/M000035.html +27 -0
  42. data/doc/classes/WMQ/WMQException.html +111 -0
  43. data/doc/created.rid +1 -0
  44. data/doc/files/ext/lib/wmq_const_admin_rb.html +128 -0
  45. data/doc/files/ext/lib/wmq_const_rb.html +128 -0
  46. data/doc/files/ext/lib/wmq_temp_rb.html +122 -0
  47. data/doc/files/ext/wmq_c.html +101 -0
  48. data/doc/files/ext/wmq_message_c.html +101 -0
  49. data/doc/files/ext/wmq_queue_c.html +101 -0
  50. data/doc/files/ext/wmq_queue_manager_c.html +101 -0
  51. data/doc/fr_class_index.html +31 -0
  52. data/doc/fr_file_index.html +33 -0
  53. data/doc/fr_method_index.html +61 -0
  54. data/doc/index.html +24 -0
  55. data/doc/rdoc-style.css +208 -0
  56. data/examples/each_a.rb +31 -0
  57. data/examples/each_b.rb +40 -0
  58. data/examples/each_header.rb +37 -0
  59. data/examples/files_to_q.cfg +24 -0
  60. data/examples/files_to_q.rb +46 -0
  61. data/examples/get_a.rb +34 -0
  62. data/examples/get_client.rb +50 -0
  63. data/examples/put1_a.rb +24 -0
  64. data/examples/put1_b.rb +32 -0
  65. data/examples/put1_c.rb +31 -0
  66. data/examples/put_a.rb +34 -0
  67. data/examples/put_b.rb +42 -0
  68. data/examples/put_dlh.rb +40 -0
  69. data/examples/put_dynamic_q.rb +37 -0
  70. data/examples/put_rfh.rb +66 -0
  71. data/examples/put_rfh2_a.rb +42 -0
  72. data/examples/put_rfh2_b.rb +42 -0
  73. data/examples/put_xmit_q.rb +32 -0
  74. data/examples/q_to_files.cfg +17 -0
  75. data/examples/q_to_files.rb +47 -0
  76. data/examples/request.rb +59 -0
  77. data/examples/server.rb +96 -0
  78. data/lib/wmq.rb +25 -0
  79. data/lib/wmq/wmq.so +0 -0
  80. data/lib/wmq/wmq_const.rb +745 -0
  81. data/lib/wmq/wmq_const_admin.rb +555 -0
  82. data/lib/wmq/wmq_temp.rb +197 -0
  83. data/tests/test.rb +299 -0
  84. metadata +131 -0
@@ -0,0 +1,42 @@
1
+ ################################################################################
2
+ # Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ################################################################################
16
+
17
+ #
18
+ # Sample : put() : Put a message to a queue with a Refernce header
19
+ # Open the queue so that multiple puts can be performed
20
+ #
21
+ require 'wmq/wmq'
22
+
23
+ # The Rules Format header2 (MQRFH2) allows a an XML-like string to be passed as a header
24
+ # to the data.
25
+ #
26
+
27
+ WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr|
28
+ qmgr.open_queue(:q_name=>'TEST.QUEUE', :mode=>:output) do |queue|
29
+ message = WMQ::Message.new
30
+ message.data = 'Hello World'
31
+
32
+ message.headers = [
33
+ {:header_type =>:rf_header_2,
34
+ :xml => '<hello>to the world</hello>'
35
+ }]
36
+
37
+ message.descriptor[:format] = WMQ::MQFMT_STRING
38
+
39
+ queue.put(:message=>message)
40
+ end
41
+ end
42
+
@@ -0,0 +1,42 @@
1
+ ################################################################################
2
+ # Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ################################################################################
16
+
17
+ #
18
+ # Sample : put() : Put a message to a queue with a Refernce header
19
+ # Open the queue so that multiple puts can be performed
20
+ #
21
+ require 'wmq/wmq'
22
+
23
+ # The Rules Format header2 (MQRFH2) allows a an XML-like string to be passed as a header
24
+ # to the data.
25
+ #
26
+
27
+ WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr|
28
+ qmgr.open_queue(:q_name=>'TEST.QUEUE', :mode=>:output) do |queue|
29
+ message = WMQ::Message.new
30
+ message.data = 'Hello World'
31
+
32
+ message.headers = [
33
+ {:header_type =>:rf_header_2,
34
+ :xml => ['<hello>to the world</hello>', '<another>xml like string</another>'],
35
+ }]
36
+
37
+ message.descriptor[:format] = WMQ::MQFMT_STRING
38
+
39
+ queue.put(:message=>message)
40
+ end
41
+ end
42
+
@@ -0,0 +1,32 @@
1
+ ################################################################################
2
+ # Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ################################################################################
16
+
17
+ #
18
+ # Sample : put() : Put a message to a queue with a Transmission header
19
+ #
20
+ require 'wmq/wmq'
21
+
22
+ WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr|
23
+ qmgr.open_queue(:q_name=>'TEST.QUEUE', :mode=>:output) do |queue|
24
+ message = WMQ::Message.new
25
+ message.data = "Test message from 'LOCALQMS1'"
26
+ message.descriptor = {:original_length=>-1, :priority=>0, :put_time=>"18510170", :msg_id=>"AMQ LOCALQMS1 E\233\001\237 \000\003\005", :expiry=>-1, :persistence=>0, :reply_to_q=>"MQMON", :correl_id=>"AMQ LOCALQMS1 E\233\001\237 \000\003\004", :feedback=>0, :offset=>0, :report=>0, :msg_flags=>0, :reply_to_q_mgr=>"LOCALQMS1", :appl_identity_data=>"", :put_appl_name=>"LOCALQMS1", :user_identifier=>"mqm", :msg_seq_number=>1, :appl_origin_data=>"", :accounting_token=>"\026\001\005\025\000\000\000\271U\305\002\261\022\362\321\021D\3206\357\003\000\000\000\000\000\000\000\000\000\000\v", :backout_count=>0, :coded_char_set_id=>437, :put_appl_type=>7, :msg_type=>8, :group_id=>"", :put_date=>"20070109", :format=>"MQSTR", :encoding=>546}
27
+ message.headers = [{:priority=>0, :remote_q_mgr_name=>"OTHER.QMGR", :put_time=>"18510170", :msg_id=>"AMQ LOCALQMS1 E\233\001\237 \000\003\004", :expiry=>-1, :persistence=>0, :remote_q_name=>"OTHER.Q", :header_type=>:xmit_q_header, :reply_to_q=>"MQMON", :correl_id=>"", :feedback=>0, :report=>0, :reply_to_q_mgr=>"LOCALQMS1", :appl_identity_data=>"", :put_appl_name=>"uments\\MQ\\MQMon\\mqmonntp.exe", :user_identifier=>"mqm", :appl_origin_data=>"", :accounting_token=>"\026\001\005\025\000\000\000\271U\305\002\261\022\362\321\021D\3206\357\003\000\000\000\000\000\000\000\000\000\000\v", :backout_count=>0, :coded_char_set_id=>437, :put_appl_type=>11, :msg_type=>8, :put_date=>"20070109", :encoding=>546}]
28
+
29
+ queue.put(:message=>message)
30
+ end
31
+ end
32
+
@@ -0,0 +1,17 @@
1
+ dev:
2
+ qmgr_options:
3
+ :q_mgr_name: REID
4
+ input_queue:
5
+ :mode: :browse
6
+ :q_name: TEST.QUEUE
7
+ target_directory: messages
8
+
9
+ test:
10
+ qmgr_options:
11
+ :q_mgr_name: TEST.QMGR
12
+ :channel_name: SYSTEM.DEF.SVRCONN
13
+ :connection_name: remotehost(1414)
14
+ input_queue:
15
+ :mode: :browse
16
+ :q_name: TEST.QUEUE
17
+ target_directory: messages
@@ -0,0 +1,47 @@
1
+ ################################################################################
2
+ # Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ################################################################################
16
+
17
+ #
18
+ # Example: q_to_files: Copy all messages in a queue to separate files in a directory
19
+ #
20
+ require 'find'
21
+ require 'yaml'
22
+ require 'wmq/wmq'
23
+ require 'fileutils'
24
+
25
+ # Call program passing environment name as first parameter
26
+ # The environment corresponds to an entry in the config file
27
+ env = ARGV[0] || raise("Command line argument 'environment' is required")
28
+ config = YAML::load_file('q_to_files.cfg')[env]
29
+
30
+ # Create supplied path if it does not exist
31
+ path = config['target_directory']
32
+ FileUtils.mkdir_p(path)
33
+
34
+ message = WMQ::Message.new
35
+ message.descriptor = config['descriptor'] || {}
36
+ tstart = Time.now
37
+ counter = 0
38
+ WMQ::QueueManager.connect(config['qmgr_options']) do |qmgr|
39
+ qmgr.open_queue(config['input_queue']) do |queue|
40
+ queue.each do |message|
41
+ counter = counter + 1
42
+ File.open(File.join(path, "message_%03d" % counter), 'w') {|file| file.write(message.data) }
43
+ end
44
+ end
45
+ end
46
+ duration = Time.now - tstart
47
+ printf "Processed #{counter} messages in %.3f seconds. Average: %.3f messages/second\n", duration, counter/duration
@@ -0,0 +1,59 @@
1
+ ################################################################################
2
+ # Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ################################################################################
16
+
17
+ #
18
+ # Sample : request.rb
19
+ #
20
+ # Sample program that demonstrates how to send a request message
21
+ # and then block until the response is received from the server.
22
+ #
23
+ # A temporary Dynamic Reply To Queue is used with non-persistent messaging
24
+ #
25
+ require 'wmq'
26
+
27
+ wait_seconds = 30
28
+
29
+ WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr|
30
+ qmgr.open_queue(:q_name => 'SYSTEM.DEFAULT.MODEL.QUEUE',
31
+ :dynamic_q_name=> 'REQUEST.*',
32
+ :mode => :input
33
+ ) do |reply_queue|
34
+
35
+ message = WMQ::Message.new()
36
+ message.descriptor = { :msg_type => WMQ::MQMT_REQUEST,
37
+ :reply_to_q => reply_queue.name,
38
+ :reply_to_q_mgr=> qmgr.name,
39
+ :format => WMQ::MQFMT_STRING,
40
+ :expiry => wait_seconds*10} # Measured in tenths of a second
41
+ message.data = 'Hello World'
42
+
43
+ # Send request message
44
+ qmgr.put(:q_name=>'TEST.QUEUE', :message=>message)
45
+
46
+ # Copy outgoing Message id to correlation id
47
+ message.descriptor[:correl_id]=message.descriptor[:msg_id]
48
+
49
+ # Wait for reply
50
+ # Only get the message that matches the correlation id set above
51
+ if reply_queue.get(:wait=>wait_seconds*1000, :message=>message, :match=>WMQ::MQMO_MATCH_CORREL_ID)
52
+ puts "Received:"
53
+ puts message.data
54
+ else
55
+ # get returns false when no message received. Also: message.data = nil
56
+ puts "Timed Out waiting for a reply from the server"
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,96 @@
1
+ ################################################################################
2
+ # Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ################################################################################
16
+
17
+ #
18
+ # Sample : Sample program to show how to write a server side application
19
+ #
20
+ # This server times out after 60 seconds, but could be modified to
21
+ # run forever. Example:
22
+ # queue.each(:wait=>-1) do |message|
23
+ #
24
+ # Note: - All calls are being performed under synchpoint control to
25
+ # prevent messages being if the program terminates unexpectedly
26
+ # or an error occurrs.
27
+ # Uses: :sync=>true
28
+ # - Queue#each will backout any message changes if an excecption is raised
29
+ # but not handled within the each block
30
+ #
31
+ # A "well-behaved" WebSphere MQ application should adhere to the following rules:
32
+ # - Perform puts and gets under synchpoint where applicable
33
+ # - Only send replies to Request messages. No reply for Datagrams
34
+ # - Set the message type to Reply when replying to a request message
35
+ # - Reply with:
36
+ # - Remaining Expiry (Ideally deduct any processing time since get)
37
+ # - Same priority as received message
38
+ # - Same persistence as received message
39
+ # - Adhere to the Report options supplied for message and correlation id's
40
+ # in reply message
41
+ # - All headers must be returned on reply messages
42
+ # - This allows the calling application to store state information
43
+ # in these headers
44
+ # - Unless of course if the relevant header is input only and used
45
+ # for completing the request
46
+ # - In this case any remaining headers should be returned
47
+ # to the caller
48
+ # - If an error occurs trying to process the message, an error message
49
+ # must be sent back to the requesting application
50
+ # - If the reply fails, it must be put to the dead letter queue
51
+ # with the relevant dead letter header and reason
52
+ #
53
+ # Note: - It is not recommended to run server side MQ applications over a client
54
+ # connection.
55
+ # - Client connections require substantially more error handling.
56
+ # - E.g. Connection to queue manager can be lost due to netowk issues
57
+ # - Need to go into some sort of retry state attempting
58
+ # to reconnect to the queue manager
59
+ # - What about any work that was in progress?
60
+ # - Need to re-open any queues
61
+ # - Do any changes to other resources need to be undone first?
62
+ # - E.g. Database, File etc..
63
+ # - etc....
64
+ #
65
+ require 'wmq/wmq'
66
+
67
+ WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr|
68
+ qmgr.open_queue(:q_name=>'TEST.QUEUE', :mode=>:input) do |queue|
69
+ queue.each(:wait=>60000, :sync=>true, :convert=>true) do |request|
70
+ puts "Data Received:"
71
+ puts request.data
72
+
73
+ begin
74
+ reply = WMQ::Message.new
75
+ reply.data = 'Echo back:'+request.data
76
+
77
+ qmgr.put_to_reply_q(:message=>reply,
78
+ :request_message=>request, # Only replies if message type is request
79
+ :sync=>true)
80
+
81
+ rescue WMQ::WMQException => exc
82
+ # Failed to send reply, put message to the Dead Letter Queue and add a dead letter header
83
+ p exc
84
+ puts "Failed to reply to sender, Put to dead letter queue"
85
+ qmgr.put_to_dead_letter_q(:message=>request,
86
+ :reason=>WMQ::MQRC_UNKNOWN_REMOTE_Q_MGR,
87
+ :q_name=>queue.name,
88
+ :sync=>true)
89
+ # If it fails to put to the dead letter queue, this program will terminate and
90
+ # the changes will be "backed out". E.g. Queue Full, ...
91
+ end
92
+ qmgr.commit
93
+ end
94
+ end
95
+ puts 'No more messages found after 60 second wait interval'
96
+ end
@@ -0,0 +1,25 @@
1
+ ################################################################################
2
+ # Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ################################################################################
16
+
17
+ # Load wmq that uses auto-load library.
18
+ #
19
+ # If it fails, then it is likely due to this platform not being supported
20
+ # by auto load facility in Ruby WMQ, so try to load client linked library
21
+ begin
22
+ require 'wmq/wmq'
23
+ rescue LoadError
24
+ require 'wmq/wmq_client'
25
+ end
Binary file
@@ -0,0 +1,745 @@
1
+ ################################################################################
2
+ # Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ################################################################################
16
+ #
17
+ # WARNING: DO NOT MODIFY THIS FILE
18
+ #
19
+ # This file was generated by generate_const.rb.
20
+ #
21
+ ################################################################################
22
+ module WMQ
23
+
24
+ # Connect Options
25
+ MQCNO_STANDARD_BINDING = 0x00000000
26
+ MQCNO_FASTPATH_BINDING = 0x00000001
27
+ MQCNO_SHARED_BINDING = 0x00000100
28
+ MQCNO_ISOLATED_BINDING = 0x00000200
29
+ MQCNO_ACCOUNTING_MQI_ENABLED = 0x00001000
30
+ MQCNO_ACCOUNTING_MQI_DISABLED = 0x00002000
31
+ MQCNO_ACCOUNTING_Q_ENABLED = 0x00004000
32
+ MQCNO_ACCOUNTING_Q_DISABLED = 0x00008000
33
+ MQCNO_NONE = 0x00000000
34
+
35
+ # Open Options
36
+ MQOO_INPUT_AS_Q_DEF = 0x00000001
37
+ MQOO_INPUT_SHARED = 0x00000002
38
+ MQOO_INPUT_EXCLUSIVE = 0x00000004
39
+ MQOO_BROWSE = 0x00000008
40
+ MQOO_OUTPUT = 0x00000010
41
+ MQOO_INQUIRE = 0x00000020
42
+ MQOO_SET = 0x00000040
43
+ MQOO_BIND_ON_OPEN = 0x00004000
44
+ MQOO_BIND_NOT_FIXED = 0x00008000
45
+ MQOO_BIND_AS_Q_DEF = 0x00000000
46
+ MQOO_SAVE_ALL_CONTEXT = 0x00000080
47
+ MQOO_PASS_IDENTITY_CONTEXT = 0x00000100
48
+ MQOO_PASS_ALL_CONTEXT = 0x00000200
49
+ MQOO_SET_IDENTITY_CONTEXT = 0x00000400
50
+ MQOO_SET_ALL_CONTEXT = 0x00000800
51
+ MQOO_ALTERNATE_USER_AUTHORITY = 0x00001000
52
+ MQOO_FAIL_IF_QUIESCING = 0x00002000
53
+ MQOO_RESOLVE_NAMES = 0x00010000
54
+ MQOO_RESOLVE_LOCAL_Q = 0x00040000
55
+
56
+ # Close Options
57
+ MQCO_NONE = 0x00000000
58
+ MQCO_DELETE = 0x00000001
59
+ MQCO_DELETE_PURGE = 0x00000002
60
+
61
+ # Match Options
62
+ MQMO_MATCH_MSG_ID = 0x00000001
63
+ MQMO_MATCH_CORREL_ID = 0x00000002
64
+ MQMO_MATCH_GROUP_ID = 0x00000004
65
+ MQMO_MATCH_MSG_SEQ_NUMBER = 0x00000008
66
+ MQMO_MATCH_OFFSET = 0x00000010
67
+ MQMO_MATCH_MSG_TOKEN = 0x00000020
68
+ MQMO_NONE = 0x00000000
69
+
70
+ # Message Format Options
71
+ MQFMT_NONE = ''
72
+ MQFMT_ADMIN = 'MQADMIN'
73
+ MQFMT_CHANNEL_COMPLETED = 'MQCHCOM'
74
+ MQFMT_CICS = 'MQCICS'
75
+ MQFMT_COMMAND_1 = 'MQCMD1'
76
+ MQFMT_COMMAND_2 = 'MQCMD2'
77
+ MQFMT_DEAD_LETTER_HEADER = 'MQDEAD'
78
+ MQFMT_DIST_HEADER = 'MQHDIST'
79
+ MQFMT_EMBEDDED_PCF = 'MQHEPCF'
80
+ MQFMT_EVENT = 'MQEVENT'
81
+ MQFMT_IMS = 'MQIMS'
82
+ MQFMT_IMS_VAR_STRING = 'MQIMSVS'
83
+ MQFMT_MD_EXTENSION = 'MQHMDE'
84
+ MQFMT_PCF = 'MQPCF'
85
+ MQFMT_REF_MSG_HEADER = 'MQHREF'
86
+ MQFMT_RF_HEADER = 'MQHRF'
87
+ MQFMT_RF_HEADER_1 = 'MQHRF'
88
+ MQFMT_RF_HEADER_2 = 'MQHRF2'
89
+ MQFMT_STRING = 'MQSTR'
90
+ MQFMT_TRIGGER = 'MQTRIG'
91
+ MQFMT_WORK_INFO_HEADER = 'MQHWIH'
92
+ MQFMT_XMIT_Q_HEADER = 'MQXMIT'
93
+
94
+ # Get Message Options
95
+ MQGMO_WAIT = 0x00000001
96
+ MQGMO_NO_WAIT = 0x00000000
97
+ MQGMO_SET_SIGNAL = 0x00000008
98
+ MQGMO_FAIL_IF_QUIESCING = 0x00002000
99
+ MQGMO_SYNCPOINT = 0x00000002
100
+ MQGMO_SYNCPOINT_IF_PERSISTENT = 0x00001000
101
+ MQGMO_NO_SYNCPOINT = 0x00000004
102
+ MQGMO_MARK_SKIP_BACKOUT = 0x00000080
103
+ MQGMO_BROWSE_FIRST = 0x00000010
104
+ MQGMO_BROWSE_NEXT = 0x00000020
105
+ MQGMO_BROWSE_MSG_UNDER_CURSOR = 0x00000800
106
+ MQGMO_MSG_UNDER_CURSOR = 0x00000100
107
+ MQGMO_LOCK = 0x00000200
108
+ MQGMO_UNLOCK = 0x00000400
109
+ MQGMO_ACCEPT_TRUNCATED_MSG = 0x00000040
110
+ MQGMO_CONVERT = 0x00004000
111
+ MQGMO_LOGICAL_ORDER = 0x00008000
112
+ MQGMO_COMPLETE_MSG = 0x00010000
113
+ MQGMO_ALL_MSGS_AVAILABLE = 0x00020000
114
+ MQGMO_ALL_SEGMENTS_AVAILABLE = 0x00040000
115
+ MQGMO_DELETE_MSG = 0x00080000
116
+ MQGMO_NONE = 0x00000000
117
+
118
+ # Transport Types
119
+ MQXPT_ALL = -1
120
+ MQXPT_LOCAL = 0
121
+ MQXPT_LU62 = 1
122
+ MQXPT_TCP = 2
123
+ MQXPT_NETBIOS = 3
124
+ MQXPT_SPX = 4
125
+ MQXPT_DECNET = 5
126
+ MQXPT_UDP = 6
127
+
128
+ # Report Options
129
+ MQRO_EXCEPTION = 0x01000000
130
+ MQRO_EXCEPTION_WITH_DATA = 0x03000000
131
+ MQRO_EXCEPTION_WITH_FULL_DATA = 0x07000000
132
+ MQRO_EXPIRATION = 0x00200000
133
+ MQRO_EXPIRATION_WITH_DATA = 0x00600000
134
+ MQRO_EXPIRATION_WITH_FULL_DATA = 0x00E00000
135
+ MQRO_COA = 0x00000100
136
+ MQRO_COA_WITH_DATA = 0x00000300
137
+ MQRO_COA_WITH_FULL_DATA = 0x00000700
138
+ MQRO_COD = 0x00000800
139
+ MQRO_COD_WITH_DATA = 0x00001800
140
+ MQRO_COD_WITH_FULL_DATA = 0x00003800
141
+ MQRO_PAN = 0x00000001
142
+ MQRO_NAN = 0x00000002
143
+ MQRO_ACTIVITY = 0x00000004
144
+ MQRO_NEW_MSG_ID = 0x00000000
145
+ MQRO_PASS_MSG_ID = 0x00000080
146
+ MQRO_COPY_MSG_ID_TO_CORREL_ID = 0x00000000
147
+ MQRO_PASS_CORREL_ID = 0x00000040
148
+ MQRO_DEAD_LETTER_Q = 0x00000000
149
+ MQRO_DISCARD_MSG = 0x08000000
150
+ MQRO_PASS_DISCARD_AND_EXPIRY = 0x00004000
151
+ MQRO_NONE = 0x00000000
152
+ MQRO_REJECT_UNSUP_MASK = 0x101C0000
153
+ MQRO_ACCEPT_UNSUP_MASK = 0xEFE000FF
154
+ MQRO_ACCEPT_UNSUP_IF_XMIT_MASK = 0x0003FF00
155
+
156
+ # Message Types
157
+ MQMT_SYSTEM_FIRST = 1
158
+ MQMT_REQUEST = 1
159
+ MQMT_REPLY = 2
160
+ MQMT_DATAGRAM = 8
161
+ MQMT_REPORT = 4
162
+ MQMT_MQE_FIELDS_FROM_MQE = 112
163
+ MQMT_MQE_FIELDS = 113
164
+ MQMT_SYSTEM_LAST = 65535
165
+ MQMT_APPL_FIRST = 65536
166
+ MQMT_APPL_LAST = 999999999
167
+
168
+ # Expiry
169
+ MQEI_UNLIMITED = -1
170
+
171
+ # Feedback Values
172
+ MQFB_NONE = 0
173
+ MQFB_SYSTEM_FIRST = 1
174
+ MQFB_QUIT = 256
175
+ MQFB_EXPIRATION = 258
176
+ MQFB_COA = 259
177
+ MQFB_COD = 260
178
+ MQFB_CHANNEL_COMPLETED = 262
179
+ MQFB_CHANNEL_FAIL_RETRY = 263
180
+ MQFB_CHANNEL_FAIL = 264
181
+ MQFB_APPL_CANNOT_BE_STARTED = 265
182
+ MQFB_TM_ERROR = 266
183
+ MQFB_APPL_TYPE_ERROR = 267
184
+ MQFB_STOPPED_BY_MSG_EXIT = 268
185
+ MQFB_ACTIVITY = 269
186
+ MQFB_XMIT_Q_MSG_ERROR = 271
187
+ MQFB_PAN = 275
188
+ MQFB_NAN = 276
189
+ MQFB_STOPPED_BY_CHAD_EXIT = 277
190
+ MQFB_STOPPED_BY_PUBSUB_EXIT = 279
191
+ MQFB_NOT_A_REPOSITORY_MSG = 280
192
+ MQFB_BIND_OPEN_CLUSRCVR_DEL = 281
193
+ MQFB_MAX_ACTIVITIES = 282
194
+ MQFB_NOT_FORWARDED = 283
195
+ MQFB_NOT_DELIVERED = 284
196
+ MQFB_UNSUPPORTED_FORWARDING = 285
197
+ MQFB_UNSUPPORTED_DELIVERY = 286
198
+ MQFB_DATA_LENGTH_ZERO = 291
199
+ MQFB_DATA_LENGTH_NEGATIVE = 292
200
+ MQFB_DATA_LENGTH_TOO_BIG = 293
201
+ MQFB_BUFFER_OVERFLOW = 294
202
+ MQFB_LENGTH_OFF_BY_ONE = 295
203
+ MQFB_IIH_ERROR = 296
204
+ MQFB_NOT_AUTHORIZED_FOR_IMS = 298
205
+ MQFB_IMS_ERROR = 300
206
+ MQFB_IMS_FIRST = 301
207
+ MQFB_IMS_LAST = 399
208
+ MQFB_CICS_INTERNAL_ERROR = 401
209
+ MQFB_CICS_NOT_AUTHORIZED = 402
210
+ MQFB_CICS_BRIDGE_FAILURE = 403
211
+ MQFB_CICS_CORREL_ID_ERROR = 404
212
+ MQFB_CICS_CCSID_ERROR = 405
213
+ MQFB_CICS_ENCODING_ERROR = 406
214
+ MQFB_CICS_CIH_ERROR = 407
215
+ MQFB_CICS_UOW_ERROR = 408
216
+ MQFB_CICS_COMMAREA_ERROR = 409
217
+ MQFB_CICS_APPL_NOT_STARTED = 410
218
+ MQFB_CICS_APPL_ABENDED = 411
219
+ MQFB_CICS_DLQ_ERROR = 412
220
+ MQFB_CICS_UOW_BACKED_OUT = 413
221
+ MQFB_SYSTEM_LAST = 65535
222
+ MQFB_APPL_FIRST = 65536
223
+ MQFB_APPL_LAST = 999999999
224
+
225
+ # Encoding Values
226
+ MQENC_NATIVE = 0x00000222
227
+ MQENC_INTEGER_MASK = 0x0000000F
228
+ MQENC_DECIMAL_MASK = 0x000000F0
229
+ MQENC_FLOAT_MASK = 0x00000F00
230
+ MQENC_RESERVED_MASK = 0xFFFFF000
231
+ MQENC_INTEGER_UNDEFINED = 0x00000000
232
+ MQENC_INTEGER_NORMAL = 0x00000001
233
+ MQENC_INTEGER_REVERSED = 0x00000002
234
+ MQENC_DECIMAL_UNDEFINED = 0x00000000
235
+ MQENC_DECIMAL_NORMAL = 0x00000010
236
+ MQENC_DECIMAL_REVERSED = 0x00000020
237
+ MQENC_FLOAT_UNDEFINED = 0x00000000
238
+ MQENC_FLOAT_IEEE_NORMAL = 0x00000100
239
+ MQENC_FLOAT_IEEE_REVERSED = 0x00000200
240
+ MQENC_FLOAT_S390 = 0x00000300
241
+ MQENC_FLOAT_TNS = 0x00000400
242
+
243
+ # Coded Character Set Identifiers
244
+ MQCCSI_UNDEFINED = 0
245
+ MQCCSI_DEFAULT = 0
246
+ MQCCSI_Q_MGR = 0
247
+ MQCCSI_INHERIT = -2
248
+ MQCCSI_EMBEDDED = -1
249
+
250
+ # Priority
251
+ MQPRI_PRIORITY_AS_Q_DEF = -1
252
+
253
+ # Persistence
254
+ MQPER_NOT_PERSISTENT = 0
255
+ MQPER_PERSISTENT = 1
256
+ MQPER_PERSISTENCE_AS_Q_DEF = 2
257
+
258
+ # Put Application Types
259
+ MQAT_UNKNOWN = -1
260
+ MQAT_NO_CONTEXT = 0
261
+ MQAT_CICS = 1
262
+ MQAT_MVS = 2
263
+ MQAT_OS390 = 2
264
+ MQAT_ZOS = 2
265
+ MQAT_IMS = 3
266
+ MQAT_OS2 = 4
267
+ MQAT_DOS = 5
268
+ MQAT_AIX = 6
269
+ MQAT_UNIX = 6
270
+ MQAT_QMGR = 7
271
+ MQAT_OS400 = 8
272
+ MQAT_WINDOWS = 9
273
+ MQAT_CICS_VSE = 10
274
+ MQAT_WINDOWS_NT = 11
275
+ MQAT_VMS = 12
276
+ MQAT_GUARDIAN = 13
277
+ MQAT_NSK = 13
278
+ MQAT_VOS = 14
279
+ MQAT_IMS_BRIDGE = 19
280
+ MQAT_XCF = 20
281
+ MQAT_CICS_BRIDGE = 21
282
+ MQAT_NOTES_AGENT = 22
283
+ MQAT_USER = 25
284
+ MQAT_BROKER = 26
285
+ MQAT_JAVA = 28
286
+ MQAT_DQM = 29
287
+ MQAT_CHANNEL_INITIATOR = 30
288
+ MQAT_WLM = 31
289
+ MQAT_BATCH = 32
290
+ MQAT_RRS_BATCH = 33
291
+ MQAT_SIB = 34
292
+ MQAT_DEFAULT = 11
293
+ MQAT_USER_FIRST = 65536
294
+ MQAT_USER_LAST = 999999999
295
+
296
+ # Message Flags
297
+ MQMF_SEGMENTATION_INHIBITED = 0x00000000
298
+ MQMF_SEGMENTATION_ALLOWED = 0x00000001
299
+ MQMF_MSG_IN_GROUP = 0x00000008
300
+ MQMF_LAST_MSG_IN_GROUP = 0x00000010
301
+ MQMF_SEGMENT = 0x00000002
302
+ MQMF_LAST_SEGMENT = 0x00000004
303
+ MQMF_NONE = 0x00000000
304
+ MQMF_REJECT_UNSUP_MASK = 0x00000FFF
305
+ MQMF_ACCEPT_UNSUP_MASK = 0xFFF00000
306
+ MQMF_ACCEPT_UNSUP_IF_XMIT_MASK = 0x000FF000
307
+
308
+ # Original Length
309
+ MQOL_UNDEFINED = -1
310
+
311
+ # Put Message Options
312
+ MQPMO_SYNCPOINT = 0x00000002
313
+ MQPMO_NO_SYNCPOINT = 0x00000004
314
+ MQPMO_NEW_MSG_ID = 0x00000040
315
+ MQPMO_NEW_CORREL_ID = 0x00000080
316
+ MQPMO_LOGICAL_ORDER = 0x00008000
317
+ MQPMO_NO_CONTEXT = 0x00004000
318
+ MQPMO_DEFAULT_CONTEXT = 0x00000020
319
+ MQPMO_PASS_IDENTITY_CONTEXT = 0x00000100
320
+ MQPMO_PASS_ALL_CONTEXT = 0x00000200
321
+ MQPMO_SET_IDENTITY_CONTEXT = 0x00000400
322
+ MQPMO_SET_ALL_CONTEXT = 0x00000800
323
+ MQPMO_ALTERNATE_USER_AUTHORITY = 0x00001000
324
+ MQPMO_FAIL_IF_QUIESCING = 0x00002000
325
+ MQPMO_RESOLVE_LOCAL_Q = 0x00040000
326
+ MQPMO_NONE = 0x00000000
327
+
328
+ # Put Message Record Fields
329
+ MQPMRF_MSG_ID = 0x00000001
330
+ MQPMRF_CORREL_ID = 0x00000002
331
+ MQPMRF_GROUP_ID = 0x00000004
332
+ MQPMRF_FEEDBACK = 0x00000008
333
+ MQPMRF_ACCOUNTING_TOKEN = 0x00000010
334
+ MQPMRF_NONE = 0x00000000
335
+
336
+ # Reason Codes
337
+ MQRC_NONE = 0
338
+ MQRC_APPL_FIRST = 900
339
+ MQRC_APPL_LAST = 999
340
+ MQRC_ALIAS_BASE_Q_TYPE_ERROR = 2001
341
+ MQRC_ALREADY_CONNECTED = 2002
342
+ MQRC_BACKED_OUT = 2003
343
+ MQRC_BUFFER_ERROR = 2004
344
+ MQRC_BUFFER_LENGTH_ERROR = 2005
345
+ MQRC_CHAR_ATTR_LENGTH_ERROR = 2006
346
+ MQRC_CHAR_ATTRS_ERROR = 2007
347
+ MQRC_CHAR_ATTRS_TOO_SHORT = 2008
348
+ MQRC_CONNECTION_BROKEN = 2009
349
+ MQRC_DATA_LENGTH_ERROR = 2010
350
+ MQRC_DYNAMIC_Q_NAME_ERROR = 2011
351
+ MQRC_ENVIRONMENT_ERROR = 2012
352
+ MQRC_EXPIRY_ERROR = 2013
353
+ MQRC_FEEDBACK_ERROR = 2014
354
+ MQRC_GET_INHIBITED = 2016
355
+ MQRC_HANDLE_NOT_AVAILABLE = 2017
356
+ MQRC_HCONN_ERROR = 2018
357
+ MQRC_HOBJ_ERROR = 2019
358
+ MQRC_INHIBIT_VALUE_ERROR = 2020
359
+ MQRC_INT_ATTR_COUNT_ERROR = 2021
360
+ MQRC_INT_ATTR_COUNT_TOO_SMALL = 2022
361
+ MQRC_INT_ATTRS_ARRAY_ERROR = 2023
362
+ MQRC_SYNCPOINT_LIMIT_REACHED = 2024
363
+ MQRC_MAX_CONNS_LIMIT_REACHED = 2025
364
+ MQRC_MD_ERROR = 2026
365
+ MQRC_MISSING_REPLY_TO_Q = 2027
366
+ MQRC_MSG_TYPE_ERROR = 2029
367
+ MQRC_MSG_TOO_BIG_FOR_Q = 2030
368
+ MQRC_MSG_TOO_BIG_FOR_Q_MGR = 2031
369
+ MQRC_NO_MSG_AVAILABLE = 2033
370
+ MQRC_NO_MSG_UNDER_CURSOR = 2034
371
+ MQRC_NOT_AUTHORIZED = 2035
372
+ MQRC_NOT_OPEN_FOR_BROWSE = 2036
373
+ MQRC_NOT_OPEN_FOR_INPUT = 2037
374
+ MQRC_NOT_OPEN_FOR_INQUIRE = 2038
375
+ MQRC_NOT_OPEN_FOR_OUTPUT = 2039
376
+ MQRC_NOT_OPEN_FOR_SET = 2040
377
+ MQRC_OBJECT_CHANGED = 2041
378
+ MQRC_OBJECT_IN_USE = 2042
379
+ MQRC_OBJECT_TYPE_ERROR = 2043
380
+ MQRC_OD_ERROR = 2044
381
+ MQRC_OPTION_NOT_VALID_FOR_TYPE = 2045
382
+ MQRC_OPTIONS_ERROR = 2046
383
+ MQRC_PERSISTENCE_ERROR = 2047
384
+ MQRC_PERSISTENT_NOT_ALLOWED = 2048
385
+ MQRC_PRIORITY_EXCEEDS_MAXIMUM = 2049
386
+ MQRC_PRIORITY_ERROR = 2050
387
+ MQRC_PUT_INHIBITED = 2051
388
+ MQRC_Q_DELETED = 2052
389
+ MQRC_Q_FULL = 2053
390
+ MQRC_Q_NOT_EMPTY = 2055
391
+ MQRC_Q_SPACE_NOT_AVAILABLE = 2056
392
+ MQRC_Q_TYPE_ERROR = 2057
393
+ MQRC_Q_MGR_NAME_ERROR = 2058
394
+ MQRC_Q_MGR_NOT_AVAILABLE = 2059
395
+ MQRC_REPORT_OPTIONS_ERROR = 2061
396
+ MQRC_SECOND_MARK_NOT_ALLOWED = 2062
397
+ MQRC_SECURITY_ERROR = 2063
398
+ MQRC_SELECTOR_COUNT_ERROR = 2065
399
+ MQRC_SELECTOR_LIMIT_EXCEEDED = 2066
400
+ MQRC_SELECTOR_ERROR = 2067
401
+ MQRC_SELECTOR_NOT_FOR_TYPE = 2068
402
+ MQRC_SIGNAL_OUTSTANDING = 2069
403
+ MQRC_SIGNAL_REQUEST_ACCEPTED = 2070
404
+ MQRC_STORAGE_NOT_AVAILABLE = 2071
405
+ MQRC_SYNCPOINT_NOT_AVAILABLE = 2072
406
+ MQRC_TRIGGER_CONTROL_ERROR = 2075
407
+ MQRC_TRIGGER_DEPTH_ERROR = 2076
408
+ MQRC_TRIGGER_MSG_PRIORITY_ERR = 2077
409
+ MQRC_TRIGGER_TYPE_ERROR = 2078
410
+ MQRC_TRUNCATED_MSG_ACCEPTED = 2079
411
+ MQRC_TRUNCATED_MSG_FAILED = 2080
412
+ MQRC_UNKNOWN_ALIAS_BASE_Q = 2082
413
+ MQRC_UNKNOWN_OBJECT_NAME = 2085
414
+ MQRC_UNKNOWN_OBJECT_Q_MGR = 2086
415
+ MQRC_UNKNOWN_REMOTE_Q_MGR = 2087
416
+ MQRC_WAIT_INTERVAL_ERROR = 2090
417
+ MQRC_XMIT_Q_TYPE_ERROR = 2091
418
+ MQRC_XMIT_Q_USAGE_ERROR = 2092
419
+ MQRC_NOT_OPEN_FOR_PASS_ALL = 2093
420
+ MQRC_NOT_OPEN_FOR_PASS_IDENT = 2094
421
+ MQRC_NOT_OPEN_FOR_SET_ALL = 2095
422
+ MQRC_NOT_OPEN_FOR_SET_IDENT = 2096
423
+ MQRC_CONTEXT_HANDLE_ERROR = 2097
424
+ MQRC_CONTEXT_NOT_AVAILABLE = 2098
425
+ MQRC_SIGNAL1_ERROR = 2099
426
+ MQRC_OBJECT_ALREADY_EXISTS = 2100
427
+ MQRC_OBJECT_DAMAGED = 2101
428
+ MQRC_RESOURCE_PROBLEM = 2102
429
+ MQRC_ANOTHER_Q_MGR_CONNECTED = 2103
430
+ MQRC_UNKNOWN_REPORT_OPTION = 2104
431
+ MQRC_STORAGE_CLASS_ERROR = 2105
432
+ MQRC_COD_NOT_VALID_FOR_XCF_Q = 2106
433
+ MQRC_XWAIT_CANCELED = 2107
434
+ MQRC_XWAIT_ERROR = 2108
435
+ MQRC_SUPPRESSED_BY_EXIT = 2109
436
+ MQRC_FORMAT_ERROR = 2110
437
+ MQRC_SOURCE_CCSID_ERROR = 2111
438
+ MQRC_SOURCE_INTEGER_ENC_ERROR = 2112
439
+ MQRC_SOURCE_DECIMAL_ENC_ERROR = 2113
440
+ MQRC_SOURCE_FLOAT_ENC_ERROR = 2114
441
+ MQRC_TARGET_CCSID_ERROR = 2115
442
+ MQRC_TARGET_INTEGER_ENC_ERROR = 2116
443
+ MQRC_TARGET_DECIMAL_ENC_ERROR = 2117
444
+ MQRC_TARGET_FLOAT_ENC_ERROR = 2118
445
+ MQRC_NOT_CONVERTED = 2119
446
+ MQRC_CONVERTED_MSG_TOO_BIG = 2120
447
+ MQRC_TRUNCATED = 2120
448
+ MQRC_NO_EXTERNAL_PARTICIPANTS = 2121
449
+ MQRC_PARTICIPANT_NOT_AVAILABLE = 2122
450
+ MQRC_OUTCOME_MIXED = 2123
451
+ MQRC_OUTCOME_PENDING = 2124
452
+ MQRC_BRIDGE_STARTED = 2125
453
+ MQRC_BRIDGE_STOPPED = 2126
454
+ MQRC_ADAPTER_STORAGE_SHORTAGE = 2127
455
+ MQRC_UOW_IN_PROGRESS = 2128
456
+ MQRC_ADAPTER_CONN_LOAD_ERROR = 2129
457
+ MQRC_ADAPTER_SERV_LOAD_ERROR = 2130
458
+ MQRC_ADAPTER_DEFS_ERROR = 2131
459
+ MQRC_ADAPTER_DEFS_LOAD_ERROR = 2132
460
+ MQRC_ADAPTER_CONV_LOAD_ERROR = 2133
461
+ MQRC_BO_ERROR = 2134
462
+ MQRC_DH_ERROR = 2135
463
+ MQRC_MULTIPLE_REASONS = 2136
464
+ MQRC_OPEN_FAILED = 2137
465
+ MQRC_ADAPTER_DISC_LOAD_ERROR = 2138
466
+ MQRC_CNO_ERROR = 2139
467
+ MQRC_CICS_WAIT_FAILED = 2140
468
+ MQRC_DLH_ERROR = 2141
469
+ MQRC_HEADER_ERROR = 2142
470
+ MQRC_SOURCE_LENGTH_ERROR = 2143
471
+ MQRC_TARGET_LENGTH_ERROR = 2144
472
+ MQRC_SOURCE_BUFFER_ERROR = 2145
473
+ MQRC_TARGET_BUFFER_ERROR = 2146
474
+ MQRC_IIH_ERROR = 2148
475
+ MQRC_PCF_ERROR = 2149
476
+ MQRC_DBCS_ERROR = 2150
477
+ MQRC_OBJECT_NAME_ERROR = 2152
478
+ MQRC_OBJECT_Q_MGR_NAME_ERROR = 2153
479
+ MQRC_RECS_PRESENT_ERROR = 2154
480
+ MQRC_OBJECT_RECORDS_ERROR = 2155
481
+ MQRC_RESPONSE_RECORDS_ERROR = 2156
482
+ MQRC_ASID_MISMATCH = 2157
483
+ MQRC_PMO_RECORD_FLAGS_ERROR = 2158
484
+ MQRC_PUT_MSG_RECORDS_ERROR = 2159
485
+ MQRC_CONN_ID_IN_USE = 2160
486
+ MQRC_Q_MGR_QUIESCING = 2161
487
+ MQRC_Q_MGR_STOPPING = 2162
488
+ MQRC_DUPLICATE_RECOV_COORD = 2163
489
+ MQRC_PMO_ERROR = 2173
490
+ MQRC_API_EXIT_NOT_FOUND = 2182
491
+ MQRC_API_EXIT_LOAD_ERROR = 2183
492
+ MQRC_REMOTE_Q_NAME_ERROR = 2184
493
+ MQRC_INCONSISTENT_PERSISTENCE = 2185
494
+ MQRC_GMO_ERROR = 2186
495
+ MQRC_CICS_BRIDGE_RESTRICTION = 2187
496
+ MQRC_STOPPED_BY_CLUSTER_EXIT = 2188
497
+ MQRC_CLUSTER_RESOLUTION_ERROR = 2189
498
+ MQRC_CONVERTED_STRING_TOO_BIG = 2190
499
+ MQRC_TMC_ERROR = 2191
500
+ MQRC_PAGESET_FULL = 2192
501
+ MQRC_STORAGE_MEDIUM_FULL = 2192
502
+ MQRC_PAGESET_ERROR = 2193
503
+ MQRC_NAME_NOT_VALID_FOR_TYPE = 2194
504
+ MQRC_UNEXPECTED_ERROR = 2195
505
+ MQRC_UNKNOWN_XMIT_Q = 2196
506
+ MQRC_UNKNOWN_DEF_XMIT_Q = 2197
507
+ MQRC_DEF_XMIT_Q_TYPE_ERROR = 2198
508
+ MQRC_DEF_XMIT_Q_USAGE_ERROR = 2199
509
+ MQRC_NAME_IN_USE = 2201
510
+ MQRC_CONNECTION_QUIESCING = 2202
511
+ MQRC_CONNECTION_STOPPING = 2203
512
+ MQRC_ADAPTER_NOT_AVAILABLE = 2204
513
+ MQRC_MSG_ID_ERROR = 2206
514
+ MQRC_CORREL_ID_ERROR = 2207
515
+ MQRC_FILE_SYSTEM_ERROR = 2208
516
+ MQRC_NO_MSG_LOCKED = 2209
517
+ MQRC_SOAP_DOTNET_ERROR = 2210
518
+ MQRC_SOAP_AXIS_ERROR = 2211
519
+ MQRC_SOAP_URL_ERROR = 2212
520
+ MQRC_FILE_NOT_AUDITED = 2216
521
+ MQRC_CONNECTION_NOT_AUTHORIZED = 2217
522
+ MQRC_MSG_TOO_BIG_FOR_CHANNEL = 2218
523
+ MQRC_CALL_IN_PROGRESS = 2219
524
+ MQRC_RMH_ERROR = 2220
525
+ MQRC_Q_MGR_ACTIVE = 2222
526
+ MQRC_Q_MGR_NOT_ACTIVE = 2223
527
+ MQRC_Q_DEPTH_HIGH = 2224
528
+ MQRC_Q_DEPTH_LOW = 2225
529
+ MQRC_Q_SERVICE_INTERVAL_HIGH = 2226
530
+ MQRC_Q_SERVICE_INTERVAL_OK = 2227
531
+ MQRC_RFH_HEADER_FIELD_ERROR = 2228
532
+ MQRC_RAS_PROPERTY_ERROR = 2229
533
+ MQRC_UNIT_OF_WORK_NOT_STARTED = 2232
534
+ MQRC_CHANNEL_AUTO_DEF_OK = 2233
535
+ MQRC_CHANNEL_AUTO_DEF_ERROR = 2234
536
+ MQRC_CFH_ERROR = 2235
537
+ MQRC_CFIL_ERROR = 2236
538
+ MQRC_CFIN_ERROR = 2237
539
+ MQRC_CFSL_ERROR = 2238
540
+ MQRC_CFST_ERROR = 2239
541
+ MQRC_INCOMPLETE_GROUP = 2241
542
+ MQRC_INCOMPLETE_MSG = 2242
543
+ MQRC_INCONSISTENT_CCSIDS = 2243
544
+ MQRC_INCONSISTENT_ENCODINGS = 2244
545
+ MQRC_INCONSISTENT_UOW = 2245
546
+ MQRC_INVALID_MSG_UNDER_CURSOR = 2246
547
+ MQRC_MATCH_OPTIONS_ERROR = 2247
548
+ MQRC_MDE_ERROR = 2248
549
+ MQRC_MSG_FLAGS_ERROR = 2249
550
+ MQRC_MSG_SEQ_NUMBER_ERROR = 2250
551
+ MQRC_OFFSET_ERROR = 2251
552
+ MQRC_ORIGINAL_LENGTH_ERROR = 2252
553
+ MQRC_SEGMENT_LENGTH_ZERO = 2253
554
+ MQRC_UOW_NOT_AVAILABLE = 2255
555
+ MQRC_WRONG_GMO_VERSION = 2256
556
+ MQRC_WRONG_MD_VERSION = 2257
557
+ MQRC_GROUP_ID_ERROR = 2258
558
+ MQRC_INCONSISTENT_BROWSE = 2259
559
+ MQRC_XQH_ERROR = 2260
560
+ MQRC_SRC_ENV_ERROR = 2261
561
+ MQRC_SRC_NAME_ERROR = 2262
562
+ MQRC_DEST_ENV_ERROR = 2263
563
+ MQRC_DEST_NAME_ERROR = 2264
564
+ MQRC_TM_ERROR = 2265
565
+ MQRC_CLUSTER_EXIT_ERROR = 2266
566
+ MQRC_CLUSTER_EXIT_LOAD_ERROR = 2267
567
+ MQRC_CLUSTER_PUT_INHIBITED = 2268
568
+ MQRC_CLUSTER_RESOURCE_ERROR = 2269
569
+ MQRC_NO_DESTINATIONS_AVAILABLE = 2270
570
+ MQRC_CONN_TAG_IN_USE = 2271
571
+ MQRC_PARTIALLY_CONVERTED = 2272
572
+ MQRC_CONNECTION_ERROR = 2273
573
+ MQRC_OPTION_ENVIRONMENT_ERROR = 2274
574
+ MQRC_CD_ERROR = 2277
575
+ MQRC_CLIENT_CONN_ERROR = 2278
576
+ MQRC_CHANNEL_STOPPED_BY_USER = 2279
577
+ MQRC_HCONFIG_ERROR = 2280
578
+ MQRC_FUNCTION_ERROR = 2281
579
+ MQRC_CHANNEL_STARTED = 2282
580
+ MQRC_CHANNEL_STOPPED = 2283
581
+ MQRC_CHANNEL_CONV_ERROR = 2284
582
+ MQRC_SERVICE_NOT_AVAILABLE = 2285
583
+ MQRC_INITIALIZATION_FAILED = 2286
584
+ MQRC_TERMINATION_FAILED = 2287
585
+ MQRC_UNKNOWN_Q_NAME = 2288
586
+ MQRC_SERVICE_ERROR = 2289
587
+ MQRC_Q_ALREADY_EXISTS = 2290
588
+ MQRC_USER_ID_NOT_AVAILABLE = 2291
589
+ MQRC_UNKNOWN_ENTITY = 2292
590
+ MQRC_UNKNOWN_AUTH_ENTITY = 2293
591
+ MQRC_UNKNOWN_REF_OBJECT = 2294
592
+ MQRC_CHANNEL_ACTIVATED = 2295
593
+ MQRC_CHANNEL_NOT_ACTIVATED = 2296
594
+ MQRC_UOW_CANCELED = 2297
595
+ MQRC_FUNCTION_NOT_SUPPORTED = 2298
596
+ MQRC_SELECTOR_TYPE_ERROR = 2299
597
+ MQRC_COMMAND_TYPE_ERROR = 2300
598
+ MQRC_MULTIPLE_INSTANCE_ERROR = 2301
599
+ MQRC_SYSTEM_ITEM_NOT_ALTERABLE = 2302
600
+ MQRC_BAG_CONVERSION_ERROR = 2303
601
+ MQRC_SELECTOR_OUT_OF_RANGE = 2304
602
+ MQRC_SELECTOR_NOT_UNIQUE = 2305
603
+ MQRC_INDEX_NOT_PRESENT = 2306
604
+ MQRC_STRING_ERROR = 2307
605
+ MQRC_ENCODING_NOT_SUPPORTED = 2308
606
+ MQRC_SELECTOR_NOT_PRESENT = 2309
607
+ MQRC_OUT_SELECTOR_ERROR = 2310
608
+ MQRC_STRING_TRUNCATED = 2311
609
+ MQRC_SELECTOR_WRONG_TYPE = 2312
610
+ MQRC_INCONSISTENT_ITEM_TYPE = 2313
611
+ MQRC_INDEX_ERROR = 2314
612
+ MQRC_SYSTEM_BAG_NOT_ALTERABLE = 2315
613
+ MQRC_ITEM_COUNT_ERROR = 2316
614
+ MQRC_FORMAT_NOT_SUPPORTED = 2317
615
+ MQRC_SELECTOR_NOT_SUPPORTED = 2318
616
+ MQRC_ITEM_VALUE_ERROR = 2319
617
+ MQRC_HBAG_ERROR = 2320
618
+ MQRC_PARAMETER_MISSING = 2321
619
+ MQRC_CMD_SERVER_NOT_AVAILABLE = 2322
620
+ MQRC_STRING_LENGTH_ERROR = 2323
621
+ MQRC_INQUIRY_COMMAND_ERROR = 2324
622
+ MQRC_NESTED_BAG_NOT_SUPPORTED = 2325
623
+ MQRC_BAG_WRONG_TYPE = 2326
624
+ MQRC_ITEM_TYPE_ERROR = 2327
625
+ MQRC_SYSTEM_BAG_NOT_DELETABLE = 2328
626
+ MQRC_SYSTEM_ITEM_NOT_DELETABLE = 2329
627
+ MQRC_CODED_CHAR_SET_ID_ERROR = 2330
628
+ MQRC_MSG_TOKEN_ERROR = 2331
629
+ MQRC_MISSING_WIH = 2332
630
+ MQRC_WIH_ERROR = 2333
631
+ MQRC_RFH_ERROR = 2334
632
+ MQRC_RFH_STRING_ERROR = 2335
633
+ MQRC_RFH_COMMAND_ERROR = 2336
634
+ MQRC_RFH_PARM_ERROR = 2337
635
+ MQRC_RFH_DUPLICATE_PARM = 2338
636
+ MQRC_RFH_PARM_MISSING = 2339
637
+ MQRC_CHAR_CONVERSION_ERROR = 2340
638
+ MQRC_UCS2_CONVERSION_ERROR = 2341
639
+ MQRC_DB2_NOT_AVAILABLE = 2342
640
+ MQRC_OBJECT_NOT_UNIQUE = 2343
641
+ MQRC_CONN_TAG_NOT_RELEASED = 2344
642
+ MQRC_CF_NOT_AVAILABLE = 2345
643
+ MQRC_CF_STRUC_IN_USE = 2346
644
+ MQRC_CF_STRUC_LIST_HDR_IN_USE = 2347
645
+ MQRC_CF_STRUC_AUTH_FAILED = 2348
646
+ MQRC_CF_STRUC_ERROR = 2349
647
+ MQRC_CONN_TAG_NOT_USABLE = 2350
648
+ MQRC_GLOBAL_UOW_CONFLICT = 2351
649
+ MQRC_LOCAL_UOW_CONFLICT = 2352
650
+ MQRC_HANDLE_IN_USE_FOR_UOW = 2353
651
+ MQRC_UOW_ENLISTMENT_ERROR = 2354
652
+ MQRC_UOW_MIX_NOT_SUPPORTED = 2355
653
+ MQRC_WXP_ERROR = 2356
654
+ MQRC_CURRENT_RECORD_ERROR = 2357
655
+ MQRC_NEXT_OFFSET_ERROR = 2358
656
+ MQRC_NO_RECORD_AVAILABLE = 2359
657
+ MQRC_OBJECT_LEVEL_INCOMPATIBLE = 2360
658
+ MQRC_NEXT_RECORD_ERROR = 2361
659
+ MQRC_BACKOUT_THRESHOLD_REACHED = 2362
660
+ MQRC_MSG_NOT_MATCHED = 2363
661
+ MQRC_JMS_FORMAT_ERROR = 2364
662
+ MQRC_SEGMENTS_NOT_SUPPORTED = 2365
663
+ MQRC_WRONG_CF_LEVEL = 2366
664
+ MQRC_CONFIG_CREATE_OBJECT = 2367
665
+ MQRC_CONFIG_CHANGE_OBJECT = 2368
666
+ MQRC_CONFIG_DELETE_OBJECT = 2369
667
+ MQRC_CONFIG_REFRESH_OBJECT = 2370
668
+ MQRC_CHANNEL_SSL_ERROR = 2371
669
+ MQRC_CF_STRUC_FAILED = 2373
670
+ MQRC_API_EXIT_ERROR = 2374
671
+ MQRC_API_EXIT_INIT_ERROR = 2375
672
+ MQRC_API_EXIT_TERM_ERROR = 2376
673
+ MQRC_EXIT_REASON_ERROR = 2377
674
+ MQRC_RESERVED_VALUE_ERROR = 2378
675
+ MQRC_NO_DATA_AVAILABLE = 2379
676
+ MQRC_SCO_ERROR = 2380
677
+ MQRC_KEY_REPOSITORY_ERROR = 2381
678
+ MQRC_CRYPTO_HARDWARE_ERROR = 2382
679
+ MQRC_AUTH_INFO_REC_COUNT_ERROR = 2383
680
+ MQRC_AUTH_INFO_REC_ERROR = 2384
681
+ MQRC_AIR_ERROR = 2385
682
+ MQRC_AUTH_INFO_TYPE_ERROR = 2386
683
+ MQRC_AUTH_INFO_CONN_NAME_ERROR = 2387
684
+ MQRC_LDAP_USER_NAME_ERROR = 2388
685
+ MQRC_LDAP_USER_NAME_LENGTH_ERR = 2389
686
+ MQRC_LDAP_PASSWORD_ERROR = 2390
687
+ MQRC_SSL_ALREADY_INITIALIZED = 2391
688
+ MQRC_SSL_CONFIG_ERROR = 2392
689
+ MQRC_SSL_INITIALIZATION_ERROR = 2393
690
+ MQRC_Q_INDEX_TYPE_ERROR = 2394
691
+ MQRC_CFBS_ERROR = 2395
692
+ MQRC_SSL_NOT_ALLOWED = 2396
693
+ MQRC_JSSE_ERROR = 2397
694
+ MQRC_SSL_PEER_NAME_MISMATCH = 2398
695
+ MQRC_SSL_PEER_NAME_ERROR = 2399
696
+ MQRC_UNSUPPORTED_CIPHER_SUITE = 2400
697
+ MQRC_SSL_CERTIFICATE_REVOKED = 2401
698
+ MQRC_SSL_CERT_STORE_ERROR = 2402
699
+ MQRC_CLIENT_EXIT_LOAD_ERROR = 2406
700
+ MQRC_CLIENT_EXIT_ERROR = 2407
701
+ MQRC_SSL_KEY_RESET_ERROR = 2409
702
+ MQRC_UNKNOWN_COMPONENT_NAME = 2410
703
+ MQRC_LOGGER_STATUS = 2411
704
+ MQRC_COMMAND_MQSC = 2412
705
+ MQRC_COMMAND_PCF = 2413
706
+ MQRC_CFIF_ERROR = 2414
707
+ MQRC_CFSF_ERROR = 2415
708
+ MQRC_CFGR_ERROR = 2416
709
+ MQRC_MSG_NOT_ALLOWED_IN_GROUP = 2417
710
+ MQRC_FILTER_OPERATOR_ERROR = 2418
711
+ MQRC_NESTED_SELECTOR_ERROR = 2419
712
+ MQRC_EPH_ERROR = 2420
713
+ MQRC_RFH_FORMAT_ERROR = 2421
714
+ MQRC_CFBF_ERROR = 2422
715
+ MQRC_CLIENT_CHANNEL_CONFLICT = 2423
716
+ MQRC_REOPEN_EXCL_INPUT_ERROR = 6100
717
+ MQRC_REOPEN_INQUIRE_ERROR = 6101
718
+ MQRC_REOPEN_SAVED_CONTEXT_ERR = 6102
719
+ MQRC_REOPEN_TEMPORARY_Q_ERROR = 6103
720
+ MQRC_ATTRIBUTE_LOCKED = 6104
721
+ MQRC_CURSOR_NOT_VALID = 6105
722
+ MQRC_ENCODING_ERROR = 6106
723
+ MQRC_NULL_POINTER = 6108
724
+ MQRC_NO_CONNECTION_REFERENCE = 6109
725
+ MQRC_NO_BUFFER = 6110
726
+ MQRC_BINARY_DATA_LENGTH_ERROR = 6111
727
+ MQRC_BUFFER_NOT_AUTOMATIC = 6112
728
+ MQRC_INSUFFICIENT_BUFFER = 6113
729
+ MQRC_INSUFFICIENT_DATA = 6114
730
+ MQRC_DATA_TRUNCATED = 6115
731
+ MQRC_ZERO_LENGTH = 6116
732
+ MQRC_NEGATIVE_LENGTH = 6117
733
+ MQRC_NEGATIVE_OFFSET = 6118
734
+ MQRC_INCONSISTENT_FORMAT = 6119
735
+ MQRC_INCONSISTENT_OBJECT_STATE = 6120
736
+ MQRC_CONTEXT_OBJECT_NOT_VALID = 6121
737
+ MQRC_CONTEXT_OPEN_ERROR = 6122
738
+ MQRC_STRUC_LENGTH_ERROR = 6123
739
+ MQRC_NOT_CONNECTED = 6124
740
+ MQRC_NOT_OPEN = 6125
741
+ MQRC_DISTRIBUTION_LIST_EMPTY = 6126
742
+ MQRC_INCONSISTENT_OPEN_OPTIONS = 6127
743
+ MQRC_WRONG_VERSION = 6128
744
+ MQRC_REFERENCE_ERROR = 6129
745
+ end