Before you can start the Common Queue Server (CQS) address
space, you must define CQS parameters, and you must create and activate
the necessary z/OS® policies.
Because they are a part of the defined IMS system, CQS and Base Primitive Environment
(BPE) are automatically linked into IMS.SDFSRESL
when you run the JCLIN job stream.
You must define CQS parameters
before starting the CQS address space. Define the parameters using
either of the following:
- CQS initialization parameters member of the IMS PROCLIB data set (CQSIPxxx)
- CQS startup procedure (CQSINIT0 or BPEINI00)
Procedure
- Create a coupling facility resource management (CFRM) policy
that defines the structures to which you want CQS to connect. The
CFRM policy specifies the name, size, attributes, and location that
the structure is to be assigned when it is allocated.
- Define the following z/OS policies:
- Activate the CFRM policy using the following command:
SETXCF START,POLICY,TYPE=CFRM,POLNAME=CONFIG01
The
structure is allocated when the first CQS connects to it.
- If you are using the SFM policy, activate it using the
following command:
SETXCF START,POLICY,TYPE=SFM,POLNAME=SFMPOL
- Create the CQS and BPE members of the IMS PROCLIB data set.
- Define all CQS execution data sets.
- Customize your CQS environment; determine which exits you
want to use and then write the exits, which can include the following:
- CQS initialization-termination user-supplied exit routine
- CQS client connection user-supplied exit routine
- Queue overflow user-supplied exit routine for CQS
- CQS structure statistics user-supplied exit routine
- CQS structure event user-supplied exit routine
- CQS statistics available through the BPE statistics user exit
- Authorize connections to CQS structures.
- Update the z/OS program
properties table.
- Plan security.