Sequence of CQS requests issued by a client for queue structure

A client uses CQS requests to make use of CQS services and resources. Client requests for CQS services must be in a particular sequence, which is outlined in this table.

The client must issue certain requests to request CQS services, and some of the requests must be in a particular sequence; the sequence for CQS requests is shown in the following table. Other requests can be issued multiple times, in any order, based on the processing requirements of the client.

Table 1. Sequence for CQS requests
Order Request Use for request
1 CQSREG To establish communications with CQS.
2 CQSCONN To connect to a particular structure.
3 CQSRSYNC To resolve indoubt work with CQS.
4 CQSRECVR1 After a CQS cold start to recover specific data objects.
5 CQSINFRM To register interest in specific queue names.
6 Other CQS requests To process work. Examples of these other requests are CQSBRWSE, CQSPUT, and CQSREAD.
7 CQSDISC To disconnect from a structure.
8 CQSSHUT To request CQS to shutdown. The client could also use CQSDISC … CQSSHUT=YES to disconnect from a structure and request a CQS shutdown, rather than issuing only the CQSSHUT request.
9 CQSDEREG To end communications with CQS.
Note:
  1. A client can issue the CQSRECVR and CQSINFRM requests in any order and at any time following the CQSRSYNC request. The client should, however, issue both of these requests before starting any real work with CQS.