Information
Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Task 2.4: Configuring Multi-Batch Communication Task (MBCT)


Code Debug TSO and Code Debug IMS Installer is required for this task.

By default, the Code Debug TSO Multi-Batch Facility is a single-LPAR feature. The Multi-Batch Staging File (MBSF) can be located on shared DASD and shared across LPARs, but updates to the file must be communicated from the LPAR on which they are made to the LPAR on which the submitted test job will run. The Multi-Batch Communication Task (MBCT), program XPMMBCT, facilitates this cross-LPAR communication.

XPMMBCT can be run as a batch job or a started task. It must be started after the Multi-Batch Intercept and TCP/IP. A copy of this program must be running on each LPAR that will be part of the test environment. Because XPMMBCT spends much of its time “waiting”, it should be made exempt from normal Job Wait Time (JWT) restrictions. The job/task can be canceled. You can also use the MVS STOP command (jobname) to end the task.

Warning

Important

The Multi-Batch Communication Task must have RACF UPDATE access to the Multi-Batch staging VSAM file.

Activation Procedure

  1. Use the XTUPDATE macro to configure SLXTINST(JCLMBCT).
    The Multi-Batch Communication Task is driven by control cards that specify the HOME and REMOTE LPARs that participate in communication. Change them to reflect your environments. The control cards should follow the format described in the following table.
    MBCTIN Control Card Format

    Position

    Length

    Value

    Comment

    1-8

    8

    Port identifier keyword

    The LPAR the MBCT is to run on is identified by keyword HOMEPORT. There must be only one HOMEPORT defined to an MBCT.

    A remote LPAR is identified by keyword RMOTPORT. There must be at least one RMOTPORT defined to an MBCT.

    9

    1

    Equal sign(=)


    10-14

    5

    5-digit port
    number.

    This is a TCP/IP port number that will be used to “listen” to other MBCTs (for a HOMEPORT) or to communicate to other MBCTs (RMOTPORT).

    15

    1

    Comma (,)


    16-22

    7

    NAME/IP

    The literal NAME/IP

    23

    1

    Equal sign(=)


    24-67

    44

    Host Name or IP address associated
    with this port number
    OPTIONAL

    Host Name in the format x.y.z
    (for example, SYS1.MYCOMPANY.COM),
    or
    IP address in the format nnn.nnn.nnn.nnn
    (for example, 198.162.83.1)
    Optional, only used on the HOMEPORT card.

    68

    1

    Comma (,)


    69-71

    3

    TPN keyword

    The literal TPN

    72

    1

    Equal sign (=)


    73-80

    8

    TCPIP Name

    TCP/IP Name used on the HOMEPORT LPAR.

  2. Submit the JCL. It should end with return code 0.

WTO Messages

Submitting the JCL to run the Multi-Batch Communication Task (JCLMBCT) will result in write to operator (WTO) message. These messages are prefixed with

   XPDnnnn :XPMMBCT -

where nnnn is the message number, followed by one of the following:

A HOST NAME ENTERED IS UNABLE TO BE RESOLVED
ANOTHER MBCT ALREADY RUNNING ON THIS LPAR
ATTACH OF *GCA WAIT* TASK FAILED
ATTACH OF *LISTEN* TASK FAILED
DUMP REQUESTED/ADVISED, WILL ABEND USER 3002.
DUPLICATE RMOTPORT CONTROL CARD
ERROR WITH MBCTIN OR MBCTOUT FILE
HOST NAME / IP ADDRESS CANNOT BE BLANK
IDENTIFY FOR *GCA WAIT* TASK FAILED
IDENTIFY FOR TCPIP *LISTEN* TASK FAILED
INVALID MBCTIN CONTROL CARD
INVALID NAME/IP KEYWORD
MAXIMUM OF 50 REMOTE PORTS EXCEEDED
MBCTIN OR MBCTOUT DD STATEMENT MISSING
MISSING HOMEPORT AND RMOTPORT CONTROL CARDS
MISSING HOMEPORT CONTROL CARD
MISSING RMOTPORT CONTROL CARD
MODIFY COMMAND CONTAINS UNKNOWN VALUE - IGNORED.
MORE THAN 1 HOMEPORT CONTROL CARD
MULTI-BATCH CROSS LPAR SUPPORT ACTIVE.
MULTI-BATCH I/O MODULE COULD NOT BE LOADED
MULTI-BATCH NOT ACTIVE ON THIS LPAR
MULTI-BATCH NOT INSTALLED ON THIS LPAR
PORT NOT 5 DIGIT NUMERIC
RECEIVED UNKNOWN COMMAND - SHUTTING DOWN.
STOP COMMAND ISSUED - SHUTTING DOWN.
TPN FIELD CANNOT BE BLANK
UNABLE TO FREE CIB - SHUTTING DOWN.
XPMSTBLD XREQ BUILD MODULE COULD NOT BE LOADED


 

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

BMC AMI DevX Code Debug for TSO and IMS 17.02