IBM GC34-5557-00 manual Using MQSeries for AS/400, Before you Start, Introducing Command Sets

Models: GC34-5557-00

1 127
Download 127 pages 62.8 Kb
Page 45
Image 45
Chapter 5. Using MQSeries for AS/400, V5.1

Chapter 5. Using MQSeries for AS/400, V5.1

This chapter introduces MQSeries command sets and some basic tasks that you can perform to get yourself started with MQSeries for AS/400, V5.1.

Tasks include creating and starting a queue manager, and creating, clearing, browsing, and deleting a local queue. The examples given use CL commands, but you can select the appropriate command from any of the supplied command sets.

Before you Start

Before you can use MQSeries for AS/400 you must start a subsystem. If you have not already done so, issue the command:

STRSBS SBSD(QMQM/QMQM)

To use MQSeries CL commands, for example CRTMQM (create queue manager) or STRMQM (start queue manager), your user profile must be a member of the group profile QMQMADM. Use the CHGUSRPRF command to change your user profile, and specify QMQMADM against either the group profile (GRPPRF) parameter or the supplementary group profile (SUPGRPPRF) parameter.

It is not essential for your user profile to belong to the QMQMADM group profile for issuing PCF commands from an administration program or MQI calls from an application program.

If you have installed the samples, ensure that all users have access to the QMQMSAMP library. Do this using the GRTOBJAUT command:

GRTOBJAUT OBJ(QMQMSAMP) OBJTYPE(*LIB) USER(*PUBLIC) AUT(*USE)

For details of MQSeries Work Management and security, see the MQSeries for AS/400 V5.1 System Administration book.

Introducing Command Sets

MQSeries provides three command sets for performing administration tasks:

vCommand Language commands (CL commands)

vMQSC commands

vPCF commands

© Copyright IBM Corp. 2000

33

Page 45
Image 45
IBM GC34-5557-00 manual Using MQSeries for AS/400, Before you Start, Introducing Command Sets