//BIPCRBK JOB //****************************************************************** //* * //* @START_COPYRIGHT@ * //* * //* Licensed Materials - Property of IBM; * //* 5655-G97 (c) Copyright IBM Corp. 2004; * //* All Rights Reserved; * //* US Government Users Restricted Rights - use, * //* duplication or disclosure restricted by GSA * //* ADP Schedule Contract with IBM Corp.; * //* See Copyright Instructions * //* * //* @END_COPYRIGHT@ * //* * //****************************************************************** //* IBM WebSphere Event/Message Brokers * //* * //* Sample job to create a broker (mqsicreatebroker). * //* * //****************************************************************** //* MORE INFORMATION - See: * //* * //* WebSphere Event/Message Brokers Information Centre. * //* Topic "an07080" * //* * //****************************************************************** //* CUSTOMIZE THIS JCL HERE FOR YOUR INSTALLATION //* YOU MUST DO GLOBAL CHANGES ON THESE PARAMETERS USING YOUR EDITOR //* * //* Replace ++HOME++ //* Home directory where ENVFILE and STDERR //* and STDOUT files will be created. //* e.g. '/u/home' //* //* Replace ++INSTALL++ //* WBI Brokers installation directory. //* e.g. '/usr/lpp/mqsi' //* //* Replace ++COMPONENTNAME++ //* Broker name. //* e.g. 'MQ01BRK' //* //* Replace ++QUEUEMANAGER++ //* Queue manager name. //* e.g. 'MQ01' //* //* Replace ++DB2TABLEOWNER++ //* DB2 table owner userid. //* e.g. 'MQ01BRK' //* //* Replace ++DB2LOCATION++ //* DB2 location. //* e.g. 'DSN710PK' //* //* Replace ++OPTIONS++ //* Options for mqsicreatebroker command. //* e.g. '-1' //* //* z/OS specific options are //* -1 Registry pass only //* This creates the broker directory. //* -2 MQ pass only //* This creates the broker MQ queues. //* -3 DB2 pass only //* This creates the broker tables/indexes. //* //* Please see documentation for other options. //* //* Replace ++DB2HLQ++ //* DB2 high-level-qualifier. //* e.g. 'SYS2.DB2.V710' //* //* Replace ++WMQHLQ++ //* WebSphere MQ high-level-qualifier. //* e.g. 'MQM.V531' //* //****************************************************************** //* //****************************************************************** //* Copy ENVFILE to SYSOUT //****************************************************************** //* //COPYENV EXEC PGM=IKJEFT01, // PARM='OCOPY INDD(BIPFROM) OUTDD(ENVFILE)' //SYSTSPRT DD DUMMY //BIPFROM DD PATHOPTS=(ORDONLY), // PATH='++HOME++/ENVFILE' //ENVFILE DD SYSOUT=*,DCB=(RECFM=V,LRECL=256) //SYSTSIN DD DUMMY //* //****************************************************************** //* Run mqsicreatebroker command //****************************************************************** //* //BIPCRBK EXEC PGM=IKJEFT01,REGION=0M //* DB2 Runtime Libraries //STEPLIB DD DISP=SHR,DSN=++DB2HLQ++.SDSNEXIT // DD DISP=SHR,DSN=++DB2HLQ++.SDSNLOAD // DD DISP=SHR,DSN=++DB2HLQ++.SDSNLOD2 //* MQSeries Runtime Libraries // DD DISP=SHR,DSN=++WMQHLQ++.SCSQANLE // DD DISP=SHR,DSN=++WMQHLQ++.SCSQAUTH // DD DISP=SHR,DSN=++WMQHLQ++.SCSQLOAD //STDENV DD PATHOPTS=(ORDONLY), // PATH='++HOME++/ENVFILE' //STDOUT DD SYSOUT=* //STDERR DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * BPXBATSL PGM - ++INSTALL++/bin/- mqsicreatebroker - ++COMPONENTNAME++ - -q ++QUEUEMANAGER++ - -u ++DB2TABLEOWNER++ - -n ++DB2LOCATION++ - ++OPTIONS++ /* //