166 Enabling SOA Using WebSphere Messaging
5.3.4 Update the ZPARM
You need to update the ZPARM of each MQ subsystem participating in the
sharing group to define the sharing group and provide information about the DB2
sharing group that is holding the MQ tables. In the CSQ6SYSP section of the
ZPARM table, the parameter QSGDATA (queue-sharing group data) needs to be
updated with the following information:
QSGDATA=(Qsgname,Dsgname,Db2name,Db2serv,Db2blob)
Qsgname The name of the queue-sharing group to which the queue
manager belongs
Dsgname The name of the DB2 data-sharing group to which the
queue manager is to connect
Db2name The name of the DB2 subsystem or group attachment to
which the queue manager is to connect
Db2serv The number of server tasks used for accessing DB2
Db2blob The number of server tasks used for processing DB2
blobs
In our case, this was QSGDATA=(MQQG,DB8QU,D8QG,10,4).
Example 5-9 Update ZPARM - CSQ4ZPRM
//MQQGZPRM JOB (999,POK),'CONWAY',CLASS=A,MSGCLASS=T,
// NOTIFY=&SYSUID,TIME=1440,REGION=0M
/*JOBPARM L=999,SYSAFF=SC55
//******************************************************************
//* IBM WebSphere MQ for z/OS *
//*
//* This job assembles and links a new system parameter module.
//*
//* Edit the parameters for the
//* CSQ6LOGP, CSQ6ARVP, and CSQ6SYSP macros
//* to determine your system parameters.
//*
//******************************************************************
//* *
//* MORE INFORMATION - See: *
//* "WebSphere MQ for z/OS System Setup Guide" *
//* for information about this customization job *
//* and a full description of the parameters. *
//* *
//******************************************************************
//*
//* Assemble step for CSQ6LOGP
//*
Chapter 5. Point-to-point runtime configuration 167
//LOGP EXEC PGM=ASMA90,PARM='DECK,NOOBJECT,LIST,XREF(SHORT)',
// REGION=4M
//SYSLIB DD DSN=MQ600.SCSQMACS,DISP=SHR
// DD DSN=SYS1.MACLIB,DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSPUNCH DD DSN=&&LOGP,
// UNIT=SYSDA,DISP=(,PASS),
// SPACE=(400,(100,100,1))
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
CSQ6LOGP INBUFF=60, ARCHIVE LOG BUFFER SIZES (KB) X
OUTBUFF=4000, - INPUT AND OUTPUT X
MAXRTU=2, MAX ALLOCATED ARCHIVE LOG UNITS X
DEALLCT=0, ARCHIVE LOG DEALLOCATE INTERVAL X
OFFLOAD=YES, ARCHIVING ACTIVE X
MAXARCH=500, MAX ARCHIVE LOG VOLUMES X
TWOACTV=YES, DUAL ACTIVE LOGGING X
TWOARCH=YES, DUAL ARCHIVE LOGGING X
TWOBSDS=YES, DUAL BSDS X
WRTHRSH=20 ACTIVE LOG BUFFERS
END
/*
//*
//* Assemble step for CSQ6ARVP
//*
//ARVP EXEC PGM=ASMA90,COND=(0,NE),
// PARM='DECK,NOOBJECT,LIST,XREF(SHORT)',
// REGION=4M
//SYSLIB DD DSN=MQ600.SCSQMACS,DISP=SHR
// DD DSN=SYS1.MACLIB,DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSPUNCH DD DSN=&&ARVP,
// UNIT=SYSDA,DISP=(,PASS),
// SPACE=(400,(100,100,1))
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
CSQ6ARVP ALCUNIT=BLK, UNITS FOR PRIQTY/SECQTY X
ARCPFX1=CSQARC1, DSN PREFIX FOR ARCHIVE LOG 1 X
ARCPFX2=CSQARC2, DSN PREFIX FOR ARCHIVE LOG 2 X
ARCRETN=9999, ARCHIVE LOG RETENION (DAYS) X
ARCWRTC=(1,3,4), ARCHIVE WTO ROUTE CODE X
ARCWTOR=YES, PROMPT BEFORE ARCHIVE LOG MOUNT X
BLKSIZE=28672, ARCHIVE LOG BLOCKSIZE X
CATALOG=NO, CATALOG ARCHIVE LOG DATA SETS X
COMPACT=NO, ARCHIVE LOGS COMPACTED X
PRIQTY=4320, PRIMARY SPACE ALLOCATION X
PROTECT=NO, DISCRETE SECURITY PROFILES X
QUIESCE=5, MAX QUIESCE TIME (SECS) X
SECQTY=540, SECONDARY SPACE ALLOCATION X
168 Enabling SOA Using WebSphere Messaging
TSTAMP=NO, TIMESTAMP SUFFIX IN DSN X
UNIT=TAPE, ARCHIVE LOG DEVICE TYPE 1 X
UNIT2= ARCHIVE LOG DEVICE TYPE 2
END
/*
//*
//* Assemble step for CSQ6SYSP
//*
//SYSP EXEC PGM=ASMA90,COND=(0,NE),
// PARM='DECK,NOOBJECT,LIST,XREF(SHORT)',
// REGION=0M
//SYSLIB DD DSN=MQ600.SCSQMACS,DISP=SHR
// DD DSN=SYS1.MACLIB,DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSPUNCH DD DSN=&&SYSP,
// UNIT=SYSDA,DISP=(,PASS),
// SPACE=(400,(100,100,1))
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
CSQ6SYSP CTHREAD=300, TOTAL NUMBER OF CONNECTIONS X
CLCACHE=STATIC, CLUSTER CACHE TYPE X
CMDUSER=CSQOPR, DEFAULT USERID FOR COMMANDS X
EXITLIM=30, EXIT TIMEOUT (SEC) X
EXITTCB=8, NUMBER OF EXIT SERVER TCBS X
IDBACK=20, NUMBER OF NON-TSO CONNECTIONS X
IDFORE=100, NUMBER OF TSO CONNECTIONS X
LOGLOAD=500000, LOG RECORD CHECKPOINT NUMBER X
OTMACON=(,,DFSYDRU0,2147483647,CSQ), OTMA PARAMETERS X
QINDXBLD=WAIT, QUEUE INDEX BUILDING X
QMCCSID=0, QMGR CCSID X
QSGDATA=(MQQG,DB8QU,D8QG,10,4), X
RESAUDIT=YES, RESLEVEL AUDITING X
ROUTCDE=1, DEFAULT WTO ROUTE CODE X
SMFACCT=NO, GATHER SMF ACCOUNTING X
SMFSTAT=NO, GATHER SMF STATS X
STATIME=30, STATISTICS RECORD INTERVAL (MIN) X
TRACSTR=YES, TRACING AUTO START X
TRACTBL=99, GLOBAL TRACE TABLE SIZE X4K X
WLMTIME=30, WLM QUEUE SCAN INTERVAL (SEC) X
WLMTIMU=MINS, WLMTIME UNITS X
SERVICE=0 IBM SERVICE USE ONLY
END
/*
//*
//*
//* Linkedit ARVP, LOGP, and SYSP into a
//* system parameter module.
//*
//LKED EXEC PGM=IEWL,COND=(0,NE),
Get Enabling SOA Using WebSphere Messaging now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.