Defining queue manager targets and profiles for example environment


Use the following procedure to define queue manager targets and profiles.

Related topic

To define queue manager targets and profiles for example environment

  1. Add queue manager target names by defining the following queue manager target names to the PAS: (See Defining-queue-manager-target-names.)
    • CSQ1
    • CSQ2
    • CSQ3
    • PAYTEST (for PAYROLL.TEST.QM)
    • PAYPROD (for PAYROLL.PROD.QM)
  2. Access the QMPROF view to create profiles for the queue managers that you defined to the PAS in Step 1. (See Viewing-queue-manager-profiles.)Profiles are not required for the local MVS queue managers (CSQ1, CSQ2, and CSQ3) unless you want to change the default values for reply time-out, message priority, or reply-to queue. The default values are provided in profile ???? shown on the QMPROF view.
  3. Obtain an edit lock. Before you can add or change queue managers, you must type EDIT on the COMMAND line of the QMPROF view. This action places an edit lock on the BBPARM member (BBSTQM xx) that contains queue manager profiles.
  4. Add a new AGENT queue manager profile by performing the following steps:
    1. Type ADD on the COMMAND line of the QMPROF view.The Select Queue Manager Type panel is displayed.
    2. Type in the queue manager target name PAYTEST and the queue manager type AGENT.
    3. Press End to access the Add Queue Manager Profile (Agent) panel. (See Add Queue Manager Profile (Agent) panel fields.)
    4. Type the following values and change the other fields as needed:

      Add Queue Manager Profile (Agent) panel fields

      Field

      Value

      Reply Timeout

      Must be 10 to 300 seconds

      Queue Manager Name

      PAYROLL.TEST.QM

      IP Address

      IP address of the MainView MIddleware Administrator agent

      Service

      IP port of the MainView MIddleware Administrator agent

    5. Press End to save your changes or type CANcel on the COMMAND line to exit without saving.
  5. Add a new PROXY queue manager profile by using the default profile as a model and performing the following steps.
    1. On the QMPROF view, type ADD on the line beside the * profile (the last profile on the view).The Select Queue Manager Type panel is displayed.
    2. Type the queue manager target name PAYPROD.
    3. Press End to access the Add Queue Manager Profile (Proxy) panel.
    4. Type the values that are listed in the following table and change the other fields as needed.

      Add Queue Manager Profile (Proxy) panel fields

      Field

      Value

      Queue Manager Name

      PAYROLL.PROD.QM

      Proxy Queue Manager

      CSQ1

      Remote Queue Manager Alias

      (Optional) Name of transmission queue or queue manager alias from CSQ1 to PAYROLL.PROD.QM

      Local Queue Manager Alias

      (Optional) Name of transmission queue or queue manager alias from PAYROLL.PROD.QM to CSQ1

    5. Press End to save your changes, or type CANcel on the COMMAND line to exit without saving.
  6. Change a queue manager profile.For more information, see Changing-queue-manager-profiles.
  7. Choose an option.
  8. When you finish adding and changing queue managers, enter one of the commands that are described in QMPROF commands.

    QMPROF commands

    Command

    Definition

    CANcel

    Discards the changes made since the last INStall command (changes made before the last INStall remain in effect)

    INStall

    Updates the current queue manager profile with the changes you have made

    SAVE

    Saves the changes and retain the edit lock

    Changes do not take effect until the PAS is restarted or an INStall command is entered.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*