connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco]) ) |
- String:name
- Integer:cnoopts
- mqcd object:cd
- mqsco object: sco
</td>
queue manager object |
</tr>
connect_tcp_client(name, cd, channel, conn_name, user=None, password=None) not supported on z/OS</td>
</td>
| |
</tr>
disconnect() |
|
|
get_handle() |
get_debug() |
set_debug(value) |
get_name() |
inquire(attribute) |
attribute is an integer like pymqi.CMQC.MQCA_Q_MGR_IDENTIFIER
| value, such as byte string or integer, matching the request.
</tr>
| put1(qDescm,msg <,md() <,pmo> > )
| - qDesc is either a name or an od() object
- md is a md() object or None
- pmo is a pmo() object or None
</td></tr>
</table>
## Queue
<th width=50%>Method</th>
<th width=25%>Parameters</th>
<th width=25%>Return value </th>
Queue(qmgr() <,od() , < mqoo >>)
|
open(qdesc,< open_options)
|
- qdesc = queue name or od()</ul></td>
queue handle object |
</tr>
put(message<,md()<,pmo()>>)
|
- string: message
- md()
- pmo</ul></td>
queue handle object |
</tr>
put_rfh2(message,md(),(rfh2(),rfh2())
| - ????</ul></td>
|
</tr>
get(<maxLength=None>,<md() <,gmo()>>)
|
- string: message
- md()
- pmo</ul></td>
queue handle object |
</tr>
</table>
#### get_rfh2
get_rfh2(%lt;max_length=None%gt;
close()
inquire(attribute)
set(attribute,arg)
set_handle(queue_handle)
get_handle()
<th width=50%>Method</th>
<th width=25%>Parameters</th>
<th width=25%>Return value </th>
Topic(queue_manager <, topic_name=None> <,topic_string=None> <,topic_desc=None> <,open_opts=None>)
|
open(def open(topic_name=None, topic_string=None, topic_desc=None, open_opts=None)
|
- String:topic_name
- String:topic_string
- String: topic_desc
- int:open_opts</ul>
</td>
topic object |
</tr>
pub(msg <,md() (,pmo>>)
|
- byte string:msg
- pmo:></ul></td>
|
</tr>
pub_rfh2()
|
|
|
sub(<sd()>,<queuename>)
|
- sd:sd
- qmgr object</u></td>
|
</tr>
close(<options=CMQC.MQCO_NONE>)
|
- integer:options</ul></td>
|
</tr>
</table>
#### Subscription
<th width=50%>Method</th>
<th width=25%>Parameters</th>
<th width=25%>Return value </th>
Subscription(queue_manager, sub_desc=None, sub_name=None,
sub_queue=None, sub_opts=None, topic_name=None, topic_string=None)
|
- qmgr object: queue_manager
- sub_desc
- sub_name
- sub_queue
- integer:sub_opts
- String: topic_name
</ul>
</td>
</tr>
sub(<sd()>,<queuename>)
|
- sd:sd
- qmgr object</u>
</td>
|
</tr>
get(max_length=None <md() <,gmo>> )
|
- integer:max_length
- md:
- gmo:
</ul>
</td>
| Byte string
</tr>
sub(sub_desc=None, sub_queue=None, sub_name=None, sub_opts=None,
topic_name=None, topic_string=None)
|
close(sub_close_options=CMQC.MQCO_NONE,close_sub_queue=False, close_sub_queue_options=CMQC.MQCO_NONE)
|
- integer: sub_close_options
- Boolean: close_sub_queue
- Integer: close_sub_queue_options
</ul>
</td>
</tr>
</table>
### MessageHandle
MessageHandle()
set(name,value)
get_all_properties()
FilterOperator(selector,name)
Filter(selector)
PCFExecute(name=None,
disconnect_on_exit=True,
model_queue_name=b'SYSTEM.DEFAULT.MODEL.QUEUE',
dynamic_queue_name=b'PYMQPCF.*',
command_queue_name=b'SYSTEM.ADMIN.COMMAND.QUEUE',
response_wait_interval=5000,
convert=False)
disconnect()
unpack(message)
prettify(data)
prettifyPCFHeader(data)
PCFValue(p1, p2)
ByteString(value)
connect(queue_manager,
user=None, password=None, disconnect_on_exit=True,
bytes_encoding=default.bytes_encoding, default_ccsid=default.ccsid):
connect(queue_manager, channel=None, conn_info=None,
user=None, password=None, disconnect_on_exit=True,
bytes_encoding=default.bytes_encoding, default_ccsid=default.ccsid):
| |
| |
|
|
|
|
|
|
|
|
|
|