开发工具:
文件大小: 2mb
下载次数: 0
上传时间: 2019-07-28
详细说明:NULL
博文链接:https://ibmtech.iteye.com/blog/773100WebSphere MQ
Programmable command Formats and
Administration interface
Version 70
sc34694201
Before using this information and the product it supports, be sure to read the general information under notices at the back
of this book
Second edition anuary 2009)
his edition of the book applies to the following products
° IBM WebSphere MQⅤ ersion70
IBM WebSphere MQ for 7. /O5, Version 7.0
and to any subsequent releases and modifications until otherwise indicated in new editions
Unless otherwise stated, the information also applies to the following products
WebSphere MQ for HP NonStop Server, V5.3
WebSphere MQ for HP Open VMS,V6.0
o Copyright International Business Machines Corporation 2002, 2009.
US Government Users Restricted Rights -Use, duplication or disclosure restricted by gsa adp schedule Contract
with ibm c
orb
Contents
Figures
Constants
Informational messages
Tables
XIlI
Error codes
PCF commands and responses in groups
Authentication Information command
26
Part 1. Programmable command
Authority Record commands
Formats
Cr commands
26
Channel commands
Chapter 1 Introduction to
Cluster command
.27
Connection commands
Programmable Command Formats ,..3
Escape command
The problem PCT commands solve
Namelist commands
What PCFs are
4
P
Other administration interfaces
Queue commands
WebSphere MQ for 15/ OS
Queue Manager commands
Websphere mo for z/OS
Security commands
MQSeries for Compaq Non Stop Kernel, V5.1
Service commands
WebSphere MQ for Windows, UNIX systems and
Storage class commands
HP OpenvMs
System
The WebSphere MQ Administration Interface(MQAD)5
Data responses to commands
Definitions of programmable command formats .. 30
Chapter 2. Using Programmable
Backup cf structure
30
Command Formats
Required parameters
PCF cOMMANd messages
Optional parameters
How to issue PCp command messages
Change, Copy, and Create Authentication
Message descriptor for a PCF command
Information Object
31
Sending user data
Required parameters(Change authentication
Responses
information)
31
Message descriptor for a response
Required parameters(Copy authentication
Standard responses
10
31
OK response
Required parameters(Create authentication
Error response
information)
Data response
Optional parameters( Change, Copy, and Create
Extended responses
Authentication Information Object
Extended responses to Inquire commands
Change, Copy, and Create CF Structure
ed responses to commands other than
Required parameters(Change and Create CT
Inquire
Structure)
Extended responses to commands using
Required parameters(Copy CF Structure
Commandscope
Optional parameters(Change, Copy, and Create
Rules for naming websphere mQ objects
13
CF Structure
Name lengths
Change, Copy, and Create Channel
Required parameters( Change, Create Channel) 39
Authority checking for PCF commands
Required parameters( Copy Channel)
40
Websphere mQ for 15/OS
Optional parameters( Change, Copy and Create
MO for Wind
41
WebSphere MQ for HP OpenVMS and Compaq
Error codes(Change, Copy and Create Channel) 66
Nonstop Kernel
Che
COT
nd Create Channel liste
WebSphere mq for z/ OS
Required parameters( Change and Create
Chapter 3. Definitions of the
Required parameters( Copy Channel Listener
Programmable Command Formats.··21
Optional parameters(Change, Copy, and Create
Channel listener
How the definitions are shown
21
Change, Copy, and Create Namelist
71
Commands
R
eter( Chang
21
Namelist
Parameters and response data
Required parameters( Copy Namelist
o Copyright IBM Corp. 2002, 2009
Optional parameters(change, Copy, and Create
Required parameters(Delete Cf structure)
.150
Namelist)
elete Channel
151
Change, copy, and create Process
Required parameters(Delete Channel)
.151
Required parameters( Change and Create
Optional parameters(Delete Channel
151
Process)
Error codes(Delete Channel
Required parameters( copy process
Delete channel listener
Optional parameters(Change, Copy, and Create
Required parameters(Delete Channel Listener) 153
Delete Namelist
.153
Change, Copy, and Create Queue
Required parameters(Delete Namelist
15
Required parameters( Change and Create Queue)79
Optional parameters(Delete Namelist)
153
Required parameters( Copy Queue
Delete process
154
Required parameters(all commands)
Required parameters(Delete Process
..155
Optional parameters(Change, Copy, and Create
Optional parameters(Delete Process
15
leue
elete Queue
156
Error codes( Change, Copy, and Create Queue) 97
Required parameters(Delete Queue,
..156
Change Queue manager
Optional parameters(Delete Queue)
156
Optional parameters(Change Queue Manager) 98
Error codes(Delete Queue)
Error codes( Change Queue Manager)
.124
Delete Service
Change Security
Required parameters(Delete Service
parameters( Change Security)
Delete storage class
Change, Copy, and Create Service
126
Required parameters(Delete Storage Class.159
Required parameter( Change and Create
Optional parameters(Delete Storage Class)..159
159
126
Delete Subscription
160
Required parameters( Copy Service)
126
Required parameters(Delete Subscription
160
Optional parameters(Change, Copy, and Create
Optional parameters Delete Subscription)
161
Service)
127 I Delete Tol
..161
Change, Copy, and Create Storage Class
128
Required parameters (Delete Topic)
161
Required parameters(Change and create
Optional parameters(Delete Topic
162
Storage Class
scape
163
Required parameters( Copy storage Class
129
Required parameters(escape)
163
Optional parameters(Change, Copy, and Create
Error codes( Escape).·
Storage Class)
Escape(response)
163
Change, Copy, and Create Subscription
Parameters
164
Required parameters( Change Subscription)
132
Inquire archive
164
Required parameters( Copy Subscription)
133
Optional parameters(Inquire Archive)
164
Required parameters( create Subscription
.133
Inquire Archive(response)
..163
Optional parameters(Change, Copy, and Create
Response data- archive parameter information 166
Subscription)
134
Response data-tape unit status information 168
Change, Copy, and Create Topic
137
Inquire Authentication Information Object
169
Re
d parameter(ch
Required parameters(Inquire Authentication
Required parameters( Copy Topic
Information Object)
Required parameters(Create Topic)
Optional parameters(Inquire Authentication
arameters(Change, Copy, and Create
Information Object
169
oP
138 Inquire Authentication Information Object
Clear queue
145
(Response)
Required parameters(clear Queue)
145
Response data
17
Optional parameters(Clear Queue)
..145
Inquire Authentication Information Object Names 17
Error codes( Clear Queue)
146
Required parameters(Inquire Authentication
Clear Topic string
Information Object Names)
173
Required parameters(Clear Topic string
Optional parameters(Inquire Authentication
Optional parameters(Clear Topic String)
146
Information Object Names)
173
Delete Authentication Information Object
147 Inquire Authentication Information Object Names
Required parameters(Delete Authentication
esponse
174
Information Object
147
Response data
.174
Optional parameters(Delete Authentication
Inquire Authority records
Information Object)
.147
Required parameters (Inquire Authority
Delete Authority Record
....148
Records)
175
Required parameters(Delete Authority Record) 149
Optional parameters (Inquire Authorit
ptional parameters(Delete Authority Record) 149
Record
Error codes(Delete Authority Record)
150
Error codes( nquire Authority records).··178
Delete CF Structure
Inquire Authority Records(Response
Iv WebSphere MQ: Programmable Command Formats and Administration Interface
Response data
Required parameters(Inquire Cluster Queue
Inquire authority service
181
Manager)
Required parameters (Inquire Authority Service) 181
Optional parameters
247
Optional parameters(Inquire Authority Service) 181 Inquire Cluster Queue Manager(Response)
251
Error codes (Inquire authority service
18
Response data
252
Inquire Authority Service(Response)
182
Inquire connection
259
Response data
182
Required parameters (Inquire Connection)
260
Inquire cf structure
183
Optional parameters(Inquire Connection)... 260
ed parameters (Inquire CF Structure
183
Error codes(Inquire Connecti
263
Optional parameters (Inquire CF Structure)
Inquire Connection(Response)
264
Inquire Cf Structure(Response)
Response data
264
Response data
184
Inquire Entity Authority
271
Inquire cf Structure names
185
Required parameters (Inquire Entity Authority) 271
equired paraneters (Inquire CF Structure
Optional parameters(Inquire Entity Authority) 273
Error codes (Inquire Entity Authority)....273
Inquire Cf Structure Names (Response)
186
quire Entity Authority(Response,
273
Response data
l86
Response data
Inquire CF Structure Status
186
Inquire grour
Required parameters (Inquire CF Structure
Optional parameters(Inquire Group
276
Status)
Inquire Group(R
esponse
Optional parameters(Inquire CF Structure
Response data relating to the queue manager
Status
187
Response data relating to obsolete DB2
Inquire CF Structure Status (Response)
messages
278
Ir
279
Inquire Channel
191
Optional parameters (inquire lo
279
Required parameters(Inquire Channel
191
Inquire Log(response)
Optional parameters(Inquire Channel
192
Response data-log parameter information
280
Error codes (Inquire Channel
198
Response data-to log status information
nquire Channel(Response)
199
Inquire namelist
1
Required parameters (Inquire namelist
283
Inquire Channel Initiator
209
Optional parameters (Inquire Namelist)
Optional parameters (Inquire Channel Initiator) 209 Inquire Namelist(Response)
28
Inquire Channel Initiator(Response)
210
Response data
286
Response data- channel initiator information 210
Inquire Namelist Names
Response data -listener information
.212
Required parameters(Inquire Namelist Names) 287
Inquire channel listener
212
Optional parameters (Inquire Namelist Names) 287
Required parameters nquire Channel listener) 213
Inquire Namelist Names(response)
Optional parameters (Inquire Channel Listener) 213
Response data
Inquire Channel Listener(Response)
215
Inquire process
289
Response data
215
Required parameters (Inquire Process)
Inquire Channel Listener Status
Optional parameters (Inquire Process
Required parameters(Inquire Channel Listener
nquire Process(Response)
29
Status)
217
Response data
Optional parameters (Inquire Channel Listener
Inquire Process Names
Status
218
Required parameters (Inquire Process Names
293
Error codes (Inquire Channel Listener Status) 219
Optional parameters (Inquire Process Names) 293
Inquire Channel Listener Status (Response)... 219 Inquire Process Names(Response)
Response data
220
Response data
295
Inquire Channel Names
Inquire Pub/Sub Status
295
Required parameters (Inquire Channel Names) 222
Optional parameters
295
Optional parameters(Inquire Channel Names) 222 I Inquire Pub/ Sub Status(Response)
296
Error codes (Inquire Channel Names
Response data
Inquire Channel Names(response
Inquire queue
Response data
224
Required parameters (Inquire Queue)
Inquire channel status
Optional parameters (Inquire Queue
..299
Required parameters (Inquire Channel Status) 227
Error codes (Inquire Queue)
Optional parameters (Inquire Channel Status) 227 Inquire Queue(Response)
Error codes (Inquire Channel Status)
235
Response data
Inquire Channel Status(Response)
Inquire Queue manager
.318
Optional parameters (Inquire Queue Manager) 318
Inquire Cluster Queue Manager
246
quire Queue Manager (Response)
Contents
Response data
Inquire System (Respon se)
Inquire Queue Manager Status
Response data
Optional parameters (Inquire Queue Manager
Inquire topic
..398
Status
348
Required parameters(Inquire Topic)
398
Inquire Queue Manager Status(Response)
Optional parameters
Response data
349
Inquire Topic (Response)
Inquire Queue names
351
Response data
402
Required parameters (Inquire Queue Names
Inquire Topic names
Optional parameters (Inquire Queue Names) 351
Required parameters (Inquire Topic Names)
407
Inquire Queue Names(Response)
353
Optional parameters (Inquire Topic Names)
407
d
esponse data
Inquire Topic Names(response)
408
Inquire Queue Status
354
Response data
.408
Required parameters (Inquire Queue Status
354
Inquire Topic Status
409
Optional parameters(Inquire Queue Status
Required Parameters (Inquire Topic Status)..409
Error codes (Inquire Queue Status)
358
Optional parameters(Inquire Topic Status)..409
Inquire Queue status (Response
.359
Inquire Topic Status(Response)
410
Response data if Status Type is
Response data (TOPIC-_STATUS
411
MQIACF_Q_STATUS
359
Response data (toPic_ SUB
Response data if Status Type is
Response data(TOPIC_STATUS_PUB)
415
MOIACE O HANDLE
Inquire Usage
416
Inquire security
366
Optional parameters (Inquire Usage)
Optional parameters (Inquire Security)
366 Inquire Usage(Response)
417
Inquire Security (response)
,.367
Response data if Usage Type is
Response data
367
MQIACF USAGE PAGESET
Inquire Service
369
Response data if Usage Type is
Required parameters (Inquire Service)
MQIACF_USAGE_BUFFER_ POOL
419
Optional parameters (Inquire Service
369
Response data if Usage Type is
Inquire Service(response)
370
MQIACF_USAGE_DATA_ SET
419
Response data
370
Move Queue
Inquire Service status
372
Required parameters( move Queue)
420
Required parameters (inquire service status
372
Optional parameters(Move Queue)
.420
Optional parameters (Inquire Service Status) 372
ing Channe
Error codes(Inquire Service Status
.374
Required parameters(Ping Channel
422
Inquire Service Status(Response)
374
Optional parameters(Ping Channel
422
Response data
Error codes(Ping Channel)
Inquire storage class
376
Ping Queue manager
425
Required parameters (Inquire Storage Class).. 376
Recover Cf Structure
Optional parameters(Inquire Storage Class)
376
Required parameters(Recover CF Structure)..425
Inquire Storage Class(Response)
378
Optional parameters (Recover CF Structure
426
Response data
379
Refresh cluster
Inquire Storage Class Names
Required parameters(Refresh Cluster)
Required parameters(Inquire Storage Class
Optional
(Refresh Cluster)
Names)
380
Refresh Queue Manager
Optional parameters (Inquire Storage Cla
Required parameters(refresh Queue Manager) 428
Names
380
Optional parameters(Refresh Queue manager) 429
Inquire Storage Class Names ( Response)
Refresh security
430
Response data
Optional parameters(Refresh Security)
.430
Inquire subscripts
382
ese
432
Required parameters(Inquire Subscription
382
Required parameters(Reset Channel)
Optional parameters(Inquire Subscription)
Optional parameters(Reset Channel)
Inquire Subscription(Response)
Error codes(reset Channel
..434
Response Data (Inquire Subscription)
Reset Cluster
Inquire Subscription Status
Required parameters(Reset Cluster
435
Required parameters(Inquire Subscription
Optional parameters(reset Cluster)
.435
Status
Error codes(reset Cluster)
Optional parameters (Inquire Subscription
Reset Queue manager
..436
Status
.390
R
d parameters(Reset Queue Manager) 437
Inquire Subscription Status(Response)
392 Optional parameters(Reset Queue Manager) 437
Response Data(Inquire Subscription Status
Error codes(Reset Queue Manager)
Inquire system
393
Reset Queue Statistics
4
Optional parameters (Inquire System)
394
Required parameters ( reset Queue Statistics) 438
VI WebSphere MQ: Programmable Command Formats and Administration Interface
Optional parameters(reset Queue Statistics) 438
Error codes(Stop Service)
473
Error codes reset Queue Statistics)
39 Suspend Queue Manager
Reset Queue Statistics(Response)
.439
Required parameters (Suspend Queue Manager) 473
Response data
439
Optional parameters(Suspend Queue Manager) 474
Resolve channe
440
uspend Queue Manager Cluster
Required parameters(resolve Channel)
441
Required parameters(Suspend Queue Manager
Optional parameters(Resolve Channel)
441
Cluster)
474
Error codes(Resolve Channel
Optional parameters(Suspend Queue Manager
Resume Queue manager
Cluster
475
Required parameters (resume Queue Manager) 443
Error codes(Suspend Queue Manager Cluster) 475
Optional parameters (Resume Queue Manager) 443
Resume queue manager cluster
443 Chapter 4 Structures for commands
Required parameters(Resume Queue Manager
and responses
477
How the structures are shown
477
Optional parameters (Resume Queue manager
Cluster)
444
Data types
Initial values and default structures
.477
Error codes(Resume Queue Manager Cluster
Reverify Security
Usage note
478
.,444
Required paraneters(Reverify Security
445
MQCFH-PCF header
Fields for MoCh
478
Optional parameters(Reverify Security)
Language declarations for MQCFH
MQCFBF-PCF byte string filter parameter
480
Set archive
445
Required parameters(Set Archive)
446
Fields for MQCFBF
Optional parameters(Set Archive)
483
Set authority Record
450
Language declarations for MQCFBF
MQCTBS-PCT byte string parameter
485
Required parameters(Set Authority Record
450
Optional parameters(Set Authority Record).. 451
Fields for MQCFBS
±85
486
Error codes (Set Authority record)
453
Language declarations for MQCFBS
Set Log
454
MQCFIF-PCF integer filter parameter
487
487
Required paraneters(Set Log
454
Fields for MQCFIF
Optional parameters(Set Log)
454
Language dec larations for MQCTIF
.489
490
Set System
456 MQCFIL-PCF integer list parameter
Fields for MQCFIL
,490
Required parameters(Set System)
Optional parameters(Set System)
456
Language declarations for MQCFIL
491
MOCFIN- PCF integer parameter
493
Start Channel
457
Fields for MOCFIN
...493
arameter
(Start Channel)
458
493
Optional parameters(Start Channel)
..458
Language declarations for MQCFIN
Error codes(Start Channel)
160
MQCFSF-PCF string filter parameter
Fields for MQCFSF
495
Start Channel Initiator
Language declarations for MQCFSF
497
Required parameters(Start Channel Initiator
461
Optional parameters (Start Channel Initiator) 40
' CF string list parameter
499
Fields for MOCFSL
499
Error codes(Start Channel Initiator
501
Start Channel listener
462
Language declarations for MQCFSL
MQCFST-PCF string Parameter
..502
Optional parameters(Start Channel Listener) 462
Fields for MOCFST
503
Error codes(Start Channel listener
Language declarations for MQCFST
504
Start service
464
Required parameters (Start Service
Error codes(Start Service
465
Chapter 5. PCF example
507
Stop channel
465
quire local queue attributes
507
Required parameters(Stop Channel
Program listing
507
Optional parameters(Stop Channel)
466
Error codes(stop Channel)
.,469
Part 2. Message Queuing
Stop Channel initiator
Administration Interface
.521
Optional parameters(Stop Channel Initiator) 469
Stop channel listener
470
equired parameters( Stop Channel Listener) 470
Chapter 6. Introduction to the
Optional parameters(stop Channel listener)
Websphere MQ Administration
Error codes( Stop Channel listener).···472 nterface(MQA)
523
Stop Connection
MQAI concepts and terminolo
523
Required parameters(Stop Connection)
Use of the MEal
Stop Service
472
How do I use the mEal?
22
Required parameters(Stop Service
473
Overview
525
Contents V1l
Building your MQAl application
526
Supported INQUIRE command co
55
mqAddInteger
Chapter 7. Using data bags .... 527
Syntax for mg addinteger
..551
Types of data bag
.527
Parameters for mgAddInteger
551
Creating and deleting data bags
527
Usage notes for mqAddIntege
Deleting data bags
C language invocation for mq AddInteger... 552
Types of data item
Visual Basic invocation for mgAddinteger
Adding data items to bags
mgAddInteger64
Adding an inquiry command to a bag
Syntax for mgAddInteger64
.553
Changing information within a bag
.530
Parameters for mq AddInteger64
553
Counting data items
Usage notes for mqAddInteger64
554
Deleting data items
532
C language invocation for mq AddInteger64
Deleting data items from a bag using the
Visual Basic invocation for mg Addinteger6
.554
mqDeleteltem call
532 mqAddIntegerFilter
554
Clearing a bag using the mq Clear Bag call
Syntax for mg AddIntegerFilter
554
Truncating a bag using the mq Truncate Bag call 533
Parameters for mg AddIntegerFilter
Inquiring within data bags
Usage notes for mqAddIntegerFilter
556
System items
C language invocation for mq AddInteger Filter 556
Visual Basic invocation for mg AddIntegerFilter 556
Chapter 8. Configuring WebSphere
mqAddstring
MQ using mgExecute
,.535
Syntax for mq Addstring
56
Parameters for mq AddString
556
Sending administration commands to the
Usage notes for mqAddString
558
command server
53
C language invocation for ny AddString
Example code
Visual Basic invocation for mq Addstring
Hints and tips for configuring WebSphere MQ
mq addstring Filter
Syntax for mq Addstring Filter
558
Chapter 9. Exchanging data between
Parameters for mq AddString Filter
558
applications
.539
Usage notes for InqAddstring Filter
560
Converting bags and buffers
C language invocation for mq Addstring ilter 50
Putting and receiving data bags
540
Visual Basic invocation for mq Addstring Filter
Sending PCF messages to a specified queue
540
Receiving pct messages from a specitied queue 540
Syntax for mq BagtoBuffer
Parameters for mq Bag Tobuffer
Chapter 10. MQAI reference .... 543
Usage notes for mq Bag ToBuffer
562
C language invocation for mq Bag toBuffer
qAddBag
Syntax for mq AddB
544
Visual Basic invocation for mq Bag ToBuffer
Parameters for mq AddBag
B:
44
bag
Syntax for mq BufferTo Bag
563
Usage notes for mqAddBag
C language invocation for mqAddBag....545
Parameters for mq Buffer ToBag
Visual Basic invocation for mq Add Bag
545
Usage notes for mq BufferToBag
qAddByte String
C language invocation for mq BufferTo Bag
564
Syntax for mq AddBy te string
545
Visual Basic invocation for mq Buffer ToBag . 564
Parameters for mq Add ByteString
546
564
notes for mqAddBytestring
Syntax for mcLear Bag
C language invocation for mqAddByteString 547
Parameters for mq ClearBag
Visual Basic invocation for myAddByte String 547
Usage notes for mqClearBag
mqAddByte String lilter
..547
C language invocation for my ClearBag
Syntax for mq AddByteString Filter
547
Visual Basic invocation for mq Clear Bag
Parameters for mgAddByteString Filter
565
547
mgcountltems
Usage notes for mg AddByte String Filter
Syntax for mq CountItems
..565
CI
avocation for
Parameters for mqCountltems
565
mqAddBytestring Filter
549
Usage notes for mqCountltems
Visual basic invocation for
C language invocation for mq countltems
566
mqAddByte String Filter
549
Visual basic invocation for mg countltems
.566
mqAddInquiry
mg Create
549
567
Syntax for mq AddInquiry
Parameters for mg AddInquiry
550
Paraneters for mq Create Bag
Usage notes for mqAddInquiry
.550
Usage notes for mq CreateBag
C language invocation for mqAddInquiry... 550
C language invocation for mq Bag
Visual Basic invocation for my AddInquiry
551
Visual Basic invocation for mg Create Bag
570
Vlll WebSphere MQ: Programmable Command Formats and Administration Interface
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.